Skip to content

Commit

Permalink
Merge pull request #20 from devilbox/docker-build
Browse files Browse the repository at this point in the history
Always use host network to build image to prevent network issues
  • Loading branch information
cytopia authored Nov 17, 2022
2 parents f9e6e66 + 4c33f80 commit edc1329
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ docker-arch-build:
docker build \
$(NO_CACHE) \
$(ARGS) \
--network host \
--platform $(ARCH) \
--label "org.opencontainers.image.created"="$$(date --rfc-3339=s)" \
--label "org.opencontainers.image.revision"="$$(git rev-parse HEAD)" \
Expand Down

0 comments on commit edc1329

Please sign in to comment.