func build not working in air gapped environment
Closed this issue · 1 comments
lamemate commented
I tried to build a quarkus function created with func create -l quarkus hello
on an air gapped machine.
What I did
func build
I then get the following error message
Building function image
2023/11/08 13:58:19.069168 DEBUG: Pulling image ghcr.io/knative/builder-jammy-tiny:latest
Error: failed to build the function: failed to fetch builder image 'ghcr.io/knative/builder-jammy-tiny:latest': Error response from daemon: Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.53:53: server misbehaving
I pulled the image manually before and it is available via docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
paketobuildpacks/run-jammy-tiny latest bf16be3d8de8 23 hours ago 22.5MB
ghcr.io/knative/builder-jammy-tiny latest 9e110caa2581 45 hours ago 794MB
hello-world latest 9c7a54a9a43c 6 months ago 13.3kB
foo.bar/tigerteam/hello latest 78114c7a1930 43 years ago 205MB
I tried tagging ghcr.io/knative/builder-jammy-tiny
with another tag but func still wants to download it.
There should be an option to check the local registry first.
github-actions commented
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.