Fixed version variable

This commit is contained in:
Sambo Chea 2021-07-14 14:50:55 +07:00
parent ff02f83f81
commit 3cbc7d444e

View File

@ -17,16 +17,16 @@ RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
'x86_64') \
url='https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz'; \
url='https://download.docker.com/linux/static/stable/x86_64/docker-20.10.7.tgz'; \
;; \
'armhf') \
url='https://download.docker.com/linux/static/stable/armel/docker-$DOCKER_VERSION.tgz'; \
url='https://download.docker.com/linux/static/stable/armel/docker-20.10.7.tgz'; \
;; \
'armv7') \
url='https://download.docker.com/linux/static/stable/armhf/docker-$DOCKER_VERSION.tgz'; \
url='https://download.docker.com/linux/static/stable/armhf/docker-20.10.7.tgz'; \
;; \
'aarch64') \
url='https://download.docker.com/linux/static/stable/aarch64/docker-$DOCKER_VERSION.tgz'; \
url='https://download.docker.com/linux/static/stable/aarch64/docker-20.10.7.tgz'; \
;; \
*) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; \
esac; \