thunderbird-docker/Dockerfile
Git Commiter for 96-fromsofia.net a2ad652079 First commit
2023-02-27 01:44:27 +00:00

21 lines
528 B
Docker

#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