2017-03-02 12:05:59 +00:00
|
|
|
FROM alpine:3.4
|
2016-09-08 11:38:23 +00:00
|
|
|
MAINTAINER Daniel Guerra
|
|
|
|
ADD /apk /apk
|
2017-03-02 12:05:59 +00:00
|
|
|
RUN cp /apk/.abuild/-58b7ee0c.rsa.pub /etc/apk/keys
|
2016-09-08 11:38:23 +00:00
|
|
|
RUN apk --update add /apk/ossp-uuid-1.6.2-r0.apk
|
|
|
|
RUN apk add /apk/ossp-uuid-dev-1.6.2-r0.apk
|
|
|
|
RUN apk add /apk/x11vnc-0.9.13-r0.apk
|
2017-03-02 12:05:59 +00:00
|
|
|
RUN apk add xvfb openbox xfce4-terminal supervisor sudo \
|
2016-09-08 11:38:23 +00:00
|
|
|
&& 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
|
2016-09-08 11:38:23 +00:00
|
|
|
EXPOSE 5900
|
2016-10-15 18:54:08 +00:00
|
|
|
USER alpine
|
2016-09-08 11:38:23 +00:00
|
|
|
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]
|