bnuuy/Dockerfile

17 lines
554 B
Text
Raw Normal View History

2017-05-28 09:31:29 +00:00
FROM alpine:3.5
MAINTAINER Daniel Guerra
ADD /apk /apk
2017-05-28 09:31:29 +00:00
RUN cp /apk/.abuild/-58b83ac3.rsa.pub /etc/apk/keys
RUN apk --no-cache --update add /apk/x11vnc-0.9.13-r0.apk
RUN apk --no-cache add xvfb openbox xfce4-terminal supervisor sudo \
&& addgroup alpine \
&& adduser -G alpine -s /bin/sh -D alpine \
&& echo "alpine:alpine" | /usr/sbin/chpasswd \
&& echo "alpine ALL=(ALL) ALL" >> /etc/sudoers \
&& rm -rf /apk /tmp/* /var/cache/apk/*
ADD etc /etc
2016-11-16 01:42:17 +00:00
WORKDIR /home/alpine
EXPOSE 5900
2016-10-15 18:54:08 +00:00
USER alpine
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]