Commit 8332a887 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

vnc: sudo

parent 553056c5
......@@ -27,9 +27,9 @@ RUN apt-get update -y \
${PYTHON/2/}-numpy \
&& rm -rf /var/lib/apt/lists/*
ARG HPP_FCL=1.7.2
ARG EIGENPY=2.6.3
ARG PINOCCHIO=2.6.0
ARG HPP_FCL=1.7.5
ARG EIGENPY=2.6.5
ARG PINOCCHIO=2.6.3
ARG BUILD_TYPE=Debug
ENV CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/${PYTHON} \
......
......@@ -6,6 +6,7 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/apt --mount=type=cache,s
mesa-utils \
net-tools \
novnc \
sudo \
tigervnc-standalone-server \
tigervnc-xorg-extension \
terminator \
......@@ -14,9 +15,10 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/apt --mount=type=cache,s
EXPOSE 5901
RUN chmod 777 /usr/share/novnc/utils
RUN chmod 777 /usr/share/novnc/utils \
&& useradd -m user \
&& echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN useradd -m user
USER user
ADD --chown=user docker-vnc /usr/local/bin
CMD docker-vnc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment