|
@@ -142,11 +142,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
|
|
|
|
RUN sed -i "s/allowed_users=console/allowed_users=anybody/;$ a needs_root_rights=yes" /etc/X11/Xwrapper.config
|
|
RUN sed -i "s/allowed_users=console/allowed_users=anybody/;$ a needs_root_rights=yes" /etc/X11/Xwrapper.config
|
|
|
|
|
|
|
|
-COPY bootstrap.sh /bootstrap.sh
|
|
|
|
|
-RUN chmod 755 /bootstrap.sh
|
|
|
|
|
-COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
-RUN chmod 755 /etc/supervisord.conf
|
|
|
|
|
-
|
|
|
|
|
# Create user with password ${VNCPASS}
|
|
# Create user with password ${VNCPASS}
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
sudo && \
|
|
sudo && \
|
|
@@ -158,6 +153,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
chown -R user:user /home/user && \
|
|
chown -R user:user /home/user && \
|
|
|
echo "user:${VNCPASS}" | chpasswd
|
|
echo "user:${VNCPASS}" | chpasswd
|
|
|
|
|
|
|
|
|
|
+COPY bootstrap.sh /bootstrap.sh
|
|
|
|
|
+RUN chmod 755 /bootstrap.sh
|
|
|
|
|
+COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
+RUN chmod 755 /etc/supervisord.conf
|
|
|
|
|
+
|
|
|
EXPOSE 5901
|
|
EXPOSE 5901
|
|
|
|
|
|
|
|
USER user
|
|
USER user
|