Skip to content

Commit

Permalink
Do not overwrite /bin symlink (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 2, 2021
1 parent cf43f83 commit fc859e3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit fc859e3

Please sign in to comment.