update arch-xfce to new baseimage format with pulse script

This commit is contained in:
thelamer 2021-09-27 11:01:33 -07:00
parent d905bafc13
commit 6f5d8f85bb
4 changed files with 1 additions and 64 deletions

View File

@ -8,34 +8,13 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"
RUN \
echo "**** install build deps ****" && \
pacman -Sy --noconfirm --needed \
base-devel \
git && \
echo "**** build AUR packages ****" && \
cd /tmp && \
AUR_PACKAGES="\
dbus-x11" && \
pacman -Rns --noconfirm -dd dbus && \
for PACKAGE in ${AUR_PACKAGES}; do \
git clone https://aur.archlinux.org/${PACKAGE}.git && \
chown -R abc:abc ${PACKAGE} && \
cd ${PACKAGE} && \
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
cd /tmp ;\
done && \
echo "**** install packages ****" && \
pacman -Sy --noconfirm --needed \
firefox \
mousepad \
pavucontrol \
xfce4 \
xfce4-pulseaudio-plugin && \
echo "**** cleanup ****" && \
pacman -Rsn --noconfirm \
gcc \
git \
$(pacman -Qdtq) && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \

View File

@ -8,34 +8,13 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"
RUN \
echo "**** install build deps ****" && \
pacman -Sy --noconfirm --needed \
base-devel \
git && \
echo "**** build AUR packages ****" && \
cd /tmp && \
AUR_PACKAGES="\
dbus-x11" && \
pacman -Rns --noconfirm -dd dbus && \
for PACKAGE in ${AUR_PACKAGES}; do \
git clone https://aur.archlinux.org/${PACKAGE}.git && \
chown -R abc:abc ${PACKAGE} && \
cd ${PACKAGE} && \
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
cd /tmp ;\
done && \
echo "**** install packages ****" && \
pacman -Sy --noconfirm --needed \
firefox \
mousepad \
pavucontrol \
xfce4 \
xfce4-pulseaudio-plugin && \
echo "**** cleanup ****" && \
pacman -Rsn --noconfirm \
gcc \
git \
$(pacman -Qdtq) && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \

View File

@ -8,34 +8,13 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"
RUN \
echo "**** install build deps ****" && \
pacman -Sy --noconfirm --needed \
base-devel \
git && \
echo "**** build AUR packages ****" && \
cd /tmp && \
AUR_PACKAGES="\
dbus-x11" && \
pacman -Rns --noconfirm -dd dbus && \
for PACKAGE in ${AUR_PACKAGES}; do \
git clone https://aur.archlinux.org/${PACKAGE}.git && \
chown -R abc:abc ${PACKAGE} && \
cd ${PACKAGE} && \
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
cd /tmp ;\
done && \
echo "**** install packages ****" && \
pacman -Sy --noconfirm --needed \
firefox \
mousepad \
pavucontrol \
xfce4 \
xfce4-pulseaudio-plugin && \
echo "**** cleanup ****" && \
pacman -Rsn --noconfirm \
gcc \
git \
$(pacman -Qdtq) && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \

View File

@ -1,3 +1,3 @@
#!/bin/bash
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa /usr/bin/pulseaudio --start
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa /startpulse.sh --start &
/usr/bin/startxfce4 > /dev/null 2>&1