Skip to content

Commit

Permalink
Merge pull request #7 from thomasferrandiz/main
Browse files Browse the repository at this point in the history
Use ARCH env variable to fix s390x build
  • Loading branch information
manuelbuil authored Feb 23, 2022
2 parents a2de1de + d78a6f5 commit bc91f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN git clone --depth=1 https://github.com/flannel-io/cni-plugin $GOPATH/src/git
&& git fetch --all --tags --prune \
&& git checkout tags/${TAG} -b ${TAG} \
&& make build_linux \
&& mv $GOPATH/src/github.com/flannel-io/cni-plugin/dist/flannel-amd64 $GOPATH/src/github.com/containernetworking/plugins/bin/flannel
&& mv $GOPATH/src/github.com/flannel-io/cni-plugin/dist/flannel-${ARCH} $GOPATH/src/github.com/containernetworking/plugins/bin/flannel

WORKDIR $GOPATH/src/github.com/containernetworking/plugins
RUN go-assert-static.sh bin/* \
Expand Down

0 comments on commit bc91f99

Please sign in to comment.