This commit is contained in:
Jackson Delahunt 2023-08-23 17:56:13 +10:00
parent a22bc9d829
commit f30200fc5d
2 changed files with 5 additions and 1 deletions

View file

@ -24,7 +24,9 @@ jobs:
- name: Build and Push to GitHub Container Registry
uses: docker/build-push-action@v4
with:
build-args: --build-arg=DESKTOP_ENVIRONMENT_USER=${{ env.REPOSITORY_OWNER }} --build-arg=DESKTOP_ENVIRONMENT_GITHUB_USER=${{ env.REPOSITORY_OWNER }}
build-args: |
DESKTOP_ENVIRONMENT_USER=${{ env.REPOSITORY_OWNER }}
DESKTOP_ENVIRONMENT_GITHUB_USER=${{ env.REPOSITORY_OWNER }}
cache-from: type=gha
cache-to: type=gha,mode=max
file: docker/Dockerfile

View file

@ -410,6 +410,8 @@ RUN sed -i 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.co
mkdir -p /etc/X11/xorg.conf.d && \
echo 'Section "InputClass"\n Identifier "touchpad"\n MatchIsTouchpad "on"\n Driver "libinput"\n Option "Tapping" "on"\n Option "libinput Accel Speed" "0.5"\nEndSection' > /etc/X11/xorg.conf.d/90-touchpad.conf
RUN echo USER $USER
# Create a non-root user for safe operation
RUN userdel -r ubuntu && \
useradd \