File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ARG MOD_VERSION
66
77RUN \
88 echo "**** retrieve latest docker and compose versions ****" && \
9- if [[ -z "${MOD_VERSION+x}" ] ]; then \
9+ if [ -z "${MOD_VERSION+x}" ]; then \
1010 DOCKER_RELEASE=$(curl -sX GET "https://api.github.com/repos/moby/moby/releases/latest" \
1111 | awk '/tag_name/{print $4;exit}' FS='[""]' \
1212 | sed 's|^v||' ); \
3131 mkdir -p \
3232 /root-layer/docker-bins \
3333 /tmp/docker && \
34- if [[ $(uname -m) == "x86_64" ] ]; then \
34+ if [ $(uname -m) = "x86_64" ]; then \
3535 echo "**** grab x86_64 tarballs and binaries ****" && \
3636 curl -fo \
3737 /tmp/docker.tgz -L \
4949 curl -fo \
5050 /root-layer/docker-bins/docker-buildx -L \
5151 "https://github.com/docker/buildx/releases/download/${BUILDX_RELEASE}/buildx-${BUILDX_RELEASE}.linux-amd64" ; \
52- elif [[ $(uname -m) == "aarch64" ] ]; then \
52+ elif [ $(uname -m) = "aarch64" ]; then \
5353 echo "**** grab aarch64 tarballs and binaries ****" && \
5454 curl -fo \
5555 /tmp/docker.tgz -L \
You can’t perform that action at this time.
0 commit comments