move chmod logic to init

This commit is contained in:
thelamer 2021-09-22 14:18:45 -07:00
parent 739de89fb6
commit 42d02842aa
4 changed files with 8 additions and 11 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \

View File

@ -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