Skip to content
Snippets Groups Projects
Commit d87e58d9 authored by GARION Christophe's avatar GARION Christophe
Browse files

[docker] remove user id

parent cbe1f5d2
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,8 @@ RUN cargo install tokei ...@@ -27,8 +27,8 @@ RUN cargo install tokei
RUN opam repository set-url default "https://opam.ocaml.org" && \ RUN opam repository set-url default "https://opam.ocaml.org" && \
opam update opam update
# install Frama-C and Z3 # install Frama-C, Z3 and re
RUN opam install frama-c.26.1 z3 RUN opam install frama-c.26.1 z3 re
# set shell and PATH for opam # set shell and PATH for opam
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
......
...@@ -53,7 +53,7 @@ while true; do ...@@ -53,7 +53,7 @@ while true; do
done done
# launch docker # launch docker
docker run -it --rm --user $(id -u):$(id -g)\ docker run -it --rm \
--name "lustrec_docker_run" \ --name "lustrec_docker_run" \
-v ${TMP_DIR}:/tmp -v ${PWD}:/home/opam/lustrec \ -v ${TMP_DIR}:/tmp -v ${PWD}:/home/opam/lustrec \
${CONTAINER_ID} $@ ${CONTAINER_ID} $@
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