Skip to content

Commit fc859e3

Browse files
authored
Do not overwrite /bin symlink (#103)
1 parent cf43f83 commit fc859e3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

base/Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,16 @@ RUN \
3333
&& if [ "${BUILD_ARCH}" = "i386" ]; then S6_ARCH="x86"; fi \
3434
&& if [ "${BUILD_ARCH}" = "armv7" ]; then S6_ARCH="arm"; fi \
3535
\
36-
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-${S6_ARCH}.tar.gz" \
37-
| tar zxvf - -C / \
36+
&& curl -J -L -o /tmp/s6-overlay.tar.gz \
37+
"https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-${S6_ARCH}.tar.gz" \
38+
\
39+
&& tar zxvfh \
40+
/tmp/s6-overlay.tar.gz \
41+
-C /usr \
42+
\
43+
&& tar zxvfh \
44+
/tmp/s6-overlay.tar.gz \
45+
-C /usr ./bin \
3846
\
3947
&& mkdir -p /etc/fix-attrs.d \
4048
&& mkdir -p /etc/services.d \

0 commit comments

Comments
 (0)