Skip to content

Commit

Permalink
Remove binaries before building docker image
Browse files Browse the repository at this point in the history
Remove binaries before building docker image to avoid introducing the
wrong binaries into the image.
  • Loading branch information
igolaizola committed Jun 14, 2023
1 parent 58f7f02 commit 8dcb5dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ app-build:
# Example: PLATFORMS=linux/amd64 make docker-build
.PHONY: docker-build
docker-build:
rm -rf bin; \
@platforms=($(PLATFORMS)); \
platform=$${platforms[0]}; \
if [[ $${#platforms[@]} -ne 1 ]]; then \
Expand Down

0 comments on commit 8dcb5dc

Please sign in to comment.