Do not overwrite /bin symlink (#103)

This commit is contained in:
Franck Nijhof 2021-11-02 15:25:51 +01:00 committed by GitHub
parent cf43f8359d
commit fc859e355b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,8 +33,16 @@ RUN \
&& if [ "${BUILD_ARCH}" = "i386" ]; then S6_ARCH="x86"; fi \
&& if [ "${BUILD_ARCH}" = "armv7" ]; then S6_ARCH="arm"; fi \
\
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-${S6_ARCH}.tar.gz" \
| tar zxvf - -C / \
&& curl -J -L -o /tmp/s6-overlay.tar.gz \
"https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-${S6_ARCH}.tar.gz" \
\
&& tar zxvfh \
/tmp/s6-overlay.tar.gz \
-C /usr \
\
&& tar zxvfh \
/tmp/s6-overlay.tar.gz \
-C /usr ./bin \
\
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \