Fix the dind image to work with the latest entrypoint.sh (#1624)
Fixes #1621
This commit is contained in:
parent
c658dcfa6d
commit
98b17dc0a5
|
|
@ -99,10 +99,12 @@ RUN mkdir /opt/hostedtoolcache \
|
||||||
# We place the scripts in `/usr/bin` so that users who extend this image can
|
# We place the scripts in `/usr/bin` so that users who extend this image can
|
||||||
# override them with scripts of the same name placed in `/usr/local/bin`.
|
# override them with scripts of the same name placed in `/usr/local/bin`.
|
||||||
COPY entrypoint.sh logger.bash startup.sh update-status /usr/bin/
|
COPY entrypoint.sh logger.bash startup.sh update-status /usr/bin/
|
||||||
COPY hooks /etc/arc/hooks/
|
|
||||||
COPY supervisor/ /etc/supervisor/conf.d/
|
COPY supervisor/ /etc/supervisor/conf.d/
|
||||||
RUN chmod +x /usr/bin/startup.sh /usr/bin/entrypoint.sh
|
RUN chmod +x /usr/bin/startup.sh /usr/bin/entrypoint.sh
|
||||||
|
|
||||||
|
# Configure hooks folder structure.
|
||||||
|
COPY hooks /etc/arc/hooks/
|
||||||
|
|
||||||
# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
|
# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
|
||||||
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
|
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
|
||||||
&& if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
|
&& if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue