mirror of
https://github.com/linuxserver/docker-rdesktop.git
synced 2026-02-20 06:16:43 +08:00
Update packages and cleanup
This commit is contained in:
parent
8780b6b3d3
commit
efdf87ed8a
22
Dockerfile
22
Dockerfile
@ -13,9 +13,25 @@ RUN \
|
||||
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||
icewm && \
|
||||
apk add --no-cache \
|
||||
firefox \
|
||||
font-noto \
|
||||
xterm && \
|
||||
chromium \
|
||||
st \
|
||||
util-linux-misc && \
|
||||
echo "**** application tweaks ****" && \
|
||||
mv \
|
||||
/usr/bin/chromium-browser \
|
||||
/usr/bin/chromium-real && \
|
||||
ln -s \
|
||||
/usr/bin/st \
|
||||
/usr/bin/x-terminal-emulator && \
|
||||
rm /usr/bin/xterm && \
|
||||
ln -s \
|
||||
/usr/bin/st \
|
||||
/usr/bin/xterm && \
|
||||
echo "**** theme ****" && \
|
||||
rm -Rf /usr/share/icewm/themes/default && \
|
||||
curl -s \
|
||||
http://ryankuba.com/ice.tar.gz \
|
||||
| tar zxf - -C /usr/share/icewm/themes/ && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
@ -13,9 +13,25 @@ RUN \
|
||||
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||
icewm && \
|
||||
apk add --no-cache \
|
||||
firefox \
|
||||
font-noto \
|
||||
xterm && \
|
||||
chromium \
|
||||
st \
|
||||
util-linux-misc && \
|
||||
echo "**** application tweaks ****" && \
|
||||
mv \
|
||||
/usr/bin/chromium-browser \
|
||||
/usr/bin/chromium-real && \
|
||||
ln -s \
|
||||
/usr/bin/st \
|
||||
/usr/bin/x-terminal-emulator && \
|
||||
rm /usr/bin/xterm && \
|
||||
ln -s \
|
||||
/usr/bin/st \
|
||||
/usr/bin/xterm && \
|
||||
echo "**** theme ****" && \
|
||||
rm -Rf /usr/share/icewm/themes/default && \
|
||||
curl -s \
|
||||
http://ryankuba.com/ice.tar.gz \
|
||||
| tar zxf - -C /usr/share/icewm/themes/ && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
10
root/usr/bin/chromium-browser
Executable file
10
root/usr/bin/chromium-browser
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
BIN=/usr/bin/chromium-real
|
||||
|
||||
# Run normally on privved containers or modified un non priv
|
||||
if grep -q 'Seccomp: 0' /proc/1/status; then
|
||||
${BIN} --password-store=basic "$@"
|
||||
else
|
||||
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user