2021-05-25 16:20:40 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk add x11vnc xvfb supervisor firefox \
|
|
|
|
&& 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"]
|