Commit 2a39fffe authored by Joakim Roubert's avatar Joakim Roubert

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: 's avatarJoakim Roubert <joakimr@axis.com>
parent ceff3f58
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment