File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ RUN apt update -y \
4747# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
4848RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
4949 && if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
50- && if [ "$ARCH" = "i386" ]; then export ARCH=x86_64 ; fi \
51- && curl -L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_${ARCH} \
50+ && if [ "$ARCH" = "amd64" ] || [ "$ARCH" = " i386" ]; then export ARCH=x86_64 ; fi \
51+ && curl -f - L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_${ARCH} \
5252 && chmod +x /usr/local/bin/dumb-init
5353
5454# Docker download supports arm64 as aarch64 & amd64 / i386 as x86_64
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ RUN chmod +x /usr/local/bin/startup.sh /usr/local/bin/entrypoint.sh /usr/local/b
108108# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
109109RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
110110 && if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
111- && if [ "$ARCH" = "i386" ]; then export ARCH=x86_64 ; fi \
112- && curl -L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_${ARCH} \
111+ && if [ "$ARCH" = "amd64" ] || [ "$ARCH" = " i386" ]; then export ARCH=x86_64 ; fi \
112+ && curl -f - L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_${ARCH} \
113113 && chmod +x /usr/local/bin/dumb-init
114114
115115VOLUME /var/lib/docker
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ RUN apt update -y \
4747# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
4848RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
4949 && if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
50- && if [ "$ARCH" = "i386" ]; then export ARCH=x86_64 ; fi \
51- && curl -L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_${ARCH} \
50+ && if [ "$ARCH" = "amd64" ] || [ "$ARCH" = " i386" ]; then export ARCH=x86_64 ; fi \
51+ && curl -f - L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_${ARCH} \
5252 && chmod +x /usr/local/bin/dumb-init
5353
5454# Docker download supports arm64 as aarch64 & amd64 / i386 as x86_64
You can’t perform that action at this time.
0 commit comments