mirror of https://github.com/k3s-io/k3s
Dockerfile.dapper: Use = instead of == for portability
By using the POSIX = instead of == in the shell script comparison, we don't have to rely on the go container's /bin/sh being a shell that handles ==. (Even if it currently is.) Change-Id: Ie02c8e27c3eecc957278c274fee661abb2c8abcf Signed-off-by: Joakim Roubert <joakimr@axis.com>pull/1497/head
parent
ceff3f58fb
commit
2a39fffea9
|
@ -13,7 +13,7 @@ RUN rm -rf /go/src /go/pkg
|
|||
ARG DAPPER_HOST_ARCH
|
||||
ENV ARCH $DAPPER_HOST_ARCH
|
||||
|
||||
RUN if [ "${ARCH}" == "amd64" ]; then \
|
||||
RUN if [ "${ARCH}" = 'amd64' ]; then \
|
||||
curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.15.0; \
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue