mirror of
https://github.com/linuxserver/docker-baseimage-arch.git
synced 2026-03-16 00:01:42 +08:00
move chmod logic to init
This commit is contained in:
parent
739de89fb6
commit
42d02842aa
@ -104,11 +104,7 @@ RUN \
|
||||
pacman -Sy --noconfirm \
|
||||
patch && \
|
||||
patch -u /etc/s6/init/init-stage2 -i /init-stage2.patch && \
|
||||
echo "**** cleanup and perms ****" && \
|
||||
chmod 755 \
|
||||
/etc \
|
||||
/usr \
|
||||
/usr/bin && \
|
||||
echo "**** cleanup ****" && \
|
||||
pacman -Rsn --noconfirm \
|
||||
patch && \
|
||||
rm -rf \
|
||||
|
||||
@ -97,7 +97,7 @@ RUN \
|
||||
pacman -Sy --noconfirm \
|
||||
patch && \
|
||||
patch -u /etc/s6/init/init-stage2 -i /init-stage2.patch && \
|
||||
echo "**** cleanup and perms ****" && \
|
||||
echo "**** cleanup ****" && \
|
||||
chmod 755 \
|
||||
/etc \
|
||||
/usr \
|
||||
|
||||
@ -97,11 +97,7 @@ RUN \
|
||||
pacman -Sy --noconfirm \
|
||||
patch && \
|
||||
patch -u /etc/s6/init/init-stage2 -i /init-stage2.patch && \
|
||||
echo "**** cleanup and perms ****" && \
|
||||
chmod 755 \
|
||||
/etc \
|
||||
/usr \
|
||||
/usr/bin && \
|
||||
echo "**** cleanup ****" && \
|
||||
pacman -Rsn --noconfirm \
|
||||
patch && \
|
||||
rm -rf \
|
||||
|
||||
@ -50,6 +50,11 @@ Some apps might not behave correctly without this
|
||||
'
|
||||
fi
|
||||
|
||||
chmod 755 \
|
||||
/etc \
|
||||
/usr \
|
||||
/usr/bin
|
||||
|
||||
chown abc:abc /app
|
||||
chown abc:abc /config
|
||||
chown abc:abc /defaults
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user