diff --git a/Dockerfile b/Dockerfile index 3eb1557..9d06eb4 100755 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ FROM jlesage/baseimage-gui:alpine-3.22-v4 RUN apk upgrade --no-cache RUN add-pkg openssh-client rsync fuse python3 py3-pip py3-qt6 zstd-libs lz4-libs openssl \ qt6-qtbase py3-bcrypt py3-pynacl py3-peewee py3-psutil py3-wheel py3-cryptography fuse3 fuse3-libs \ - mesa-dri-gallium font-croscore py3-platformdirs libxxhash firefox-esr + mesa-dri-gallium font-croscore py3-platformdirs libxxhash firefox-esr ## Buld requirements which are deleted in same transaction so they don't impact image RUN add-pkg --virtual build-dependencies py3-pkgconfig python3-dev py3-virtualenv openssl-dev zstd-dev acl-dev lz4-dev build-base qt6-qtbase-dev fuse-dev fuse3-dev xxhash-dev RUN pip3 install --break-system-packages borgbackup vorta pyfuse3 -RUN del-pkg build-dependencies +RUN del-pkg build-dependencies # Copy the start script and force permissions just in case COPY --chmod=755 rootfs/ / diff --git a/rootfs/etc/cont-init.d/50-init.sh b/rootfs/etc/cont-init.d/50-init.sh index e99cd6f..b151979 100755 --- a/rootfs/etc/cont-init.d/50-init.sh +++ b/rootfs/etc/cont-init.d/50-init.sh @@ -5,8 +5,6 @@ mkdir -p /config/xdg/cache mkdir -p /config/xdg/data mkdir -p /config/.config/autostart +# Configure user home directory +sed -i -r s/app\:\:\([0-9]+\):\([0-9]+\)::[^:]+:\(.+\)/app\:\:\\1\:\\2\:\:\\/config\:\\3/ /etc/passwd - -#ls -al /etc/ -#ls -al /etc/cont-init.d/ -#ls -al /etc/services.d/