First commit

This commit is contained in:
Git Commiter for 96-fromsofia.net
2023-02-27 01:44:27 +00:00
commit a2ad652079
4 changed files with 62 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
#Get the latest archlinux build
FROM archlinux:latest
# Copy your xcookie to use your X in the container
COPY xcookie /tmp/
# Install the necessary packages (I also like to add hunspell but you can amend this)
RUN echo -e "1\nyes" | pacman -Sy xorg-xauth thunderbird hunspell
# Add your user to run the app
RUN useradd -m thunderbird
# Add the xcookie to your user we just created
RUN su -c "xauth add $(cat /tmp/xcookie)" thunderbird
# Select the user we just configured
USER thunderbird
# Start it all
CMD thunderbird