-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (22 loc) · 693 Bytes
/
Dockerfile
File metadata and controls
32 lines (22 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM alpine:latest
MAINTAINER ISPbills <support@ispbills.com>
ENV DISPLAY=":1"
RUN addgroup alpine \
RUN adduser -G alpine -s /bin/sh -D alpine \
RUN echo "alpine ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# For access via VNC
EXPOSE 5900
# For access via noVNC
EXPOSE 8080
COPY etc /etc
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY winbox64.exe /home/alpine
COPY user-data /home/alpine
COPY docker-mikrotik-1024x576.png /etc/xdg/openbox
COPY winbox.png /opt/noVNC
COPY vnc.html /opt/noVNC
RUN chown alpine:alpine -R /home/alpine
WORKDIR /home/alpine
# User alpine
USER alpine
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]