mirror of
https://github.com/hassio-addons/addon-ubuntu-base.git
synced 2025-05-07 04:11:26 +00:00
Do not overwrite /bin symlink (#103)
This commit is contained in:
parent
cf43f8359d
commit
fc859e355b
1 changed files with 10 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue