bnuuy/Dockerfile

13 lines
415 B
Docker
Raw Normal View History

2021-05-25 16:20:40 +00:00
FROM alpine:latest
2021-05-25 22:51:28 +00:00
RUN apk add xorg-server xf86-input-libinput eudev xspice supervisor firefox pulseaudio pulseaudio-alsa alsa-plugins-pulse\
2021-05-25 16:20:40 +00:00
&& addgroup bnuuy \
&& adduser -G bnuuy -s /bin/sh -D bnuuy \
&& rm -rf /apk /tmp/* /var/cache/apk/*
ADD etc /etc
2021-05-25 16:20:40 +00:00
WORKDIR /home/bnuuy
2021-05-25 17:24:45 +00:00
ADD mozilla .mozilla/
RUN chown -R bnuuy:bnuuy .mozilla/
EXPOSE 5900
2021-05-25 16:20:40 +00:00
USER bnuuy
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]