Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
Gepetto Utils
Commits
8332a887
Commit
8332a887
authored
Sep 27, 2021
by
Guilhem Saurel
Browse files
vnc: sudo
parent
553056c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker/pinocchio/Dockerfile.nolts
View file @
8332a887
...
...
@@ -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} \
...
...
docker/vnc/Dockerfile
View file @
8332a887
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment