Skip to content

Commit

Permalink
refactor: avoid specifying --platform in build.sh
Browse files Browse the repository at this point in the history
Build only for default platform by default, if a custom platform is
required, users should pass `--platform` flag to the script.
  • Loading branch information
rvolosatovs committed Mar 31, 2022
1 parent 8dda348 commit 4bf5b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
set -a

. ./deps.list
docker buildx build --platform linux/amd64,linux/arm64 \
docker buildx build \
$(for v in $(cut -d '=' -f 1 < deps.list); do printf "%s " "--build-arg $v=$(printenv ${v})"; done) \
${@} .

0 comments on commit 4bf5b19

Please sign in to comment.