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 \
|
2016-09-08 11:38:23 +00:00
|
|
|
&& 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
|
2016-09-08 11:38:23 +00:00
|
|
|
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]
|