„Dockerfile“ hinzufügen
This commit is contained in:
38
Dockerfile
Normal file
38
Dockerfile
Normal file
@@ -0,0 +1,38 @@
|
||||
FROM ich777/novnc-baseimage
|
||||
|
||||
LABEL org.opencontainers.image.authors="admin@minenet.at"
|
||||
#LABEL org.opencontainers.image.source="https://github.com/ich777/docker-mycrypto"
|
||||
|
||||
RUN export TZ=Europe/Rome && \
|
||||
apt-get update && \
|
||||
apt-get -y install --no-install-recommends libpng-dev && \
|
||||
sed -i '/ document.title =/c\ document.title = "MyCrypto - noVNC";' /usr/share/novnc/app/ui.js && \
|
||||
rm /usr/share/novnc/app/images/icons/*
|
||||
|
||||
ENV DATA_DIR=/mycrypto
|
||||
ENV CUSTOM_RES_W=1024
|
||||
ENV CUSTOM_RES_H=768
|
||||
ENV CUSTOM_DEPTH=16
|
||||
ENV NOVNC_PORT=8080
|
||||
ENV RFB_PORT=5900
|
||||
ENV TURBOVNC_PARAMS="-securitytypes none"
|
||||
ENV UMASK=000
|
||||
ENV UID=99
|
||||
ENV GID=100
|
||||
ENV DATA_PERM=770
|
||||
ENV USER="mycrypto"
|
||||
|
||||
RUN mkdir $DATA_DIR && \
|
||||
useradd -d $DATA_DIR -s /bin/bash $USER && \
|
||||
chown -R $USER $DATA_DIR && \
|
||||
ulimit -n 2048
|
||||
|
||||
ADD /scripts/ /opt/scripts/
|
||||
#COPY /icons/* /usr/share/novnc/app/images/icons/
|
||||
COPY /conf/ /etc/.fluxbox/
|
||||
RUN chmod -R 770 /opt/scripts/
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
#Server Start
|
||||
ENTRYPOINT ["/opt/scripts/start.sh"]
|
Reference in New Issue
Block a user