Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
fcd615a9
Commit
fcd615a9
authored
Jun 02, 2022
by
Antoine Kaufmann
Browse files
docker: set PYTHONENV in simbricks and simbricks-min
parent
aaa18272
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
docker/Dockerfile
docker/Dockerfile
+1
-0
docker/Dockerfile.min
docker/Dockerfile.min
+1
-0
No files found.
docker/Dockerfile
View file @
fcd615a9
...
@@ -12,3 +12,4 @@ RUN git submodule update --init sims/external/femu \
...
@@ -12,3 +12,4 @@ RUN git submodule update --init sims/external/femu \
&&
make
-j
`
nproc
`
sims/external/femu/ready
&&
make
-j
`
nproc
`
sims/external/femu/ready
RUN
make
-j
`
nproc
`
build-images-min
COMPRESSED_IMAGES
=
true
\
RUN
make
-j
`
nproc
`
build-images-min
COMPRESSED_IMAGES
=
true
\
&&
bash docker/cleanup_images.sh
&&
bash docker/cleanup_images.sh
ENV
PYTHONPATH=/simbricks/experiments
docker/Dockerfile.min
View file @
fcd615a9
...
@@ -13,3 +13,4 @@ RUN groupadd --gid $USER_GID $USERNAME \
...
@@ -13,3 +13,4 @@ RUN groupadd --gid $USER_GID $USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
&& chmod 0440 /etc/sudoers.d/$USERNAME
COPY --chown=${USERNAME}:${USERNAME} --from=builder /simbricks /simbricks
COPY --chown=${USERNAME}:${USERNAME} --from=builder /simbricks /simbricks
WORKDIR /simbricks
WORKDIR /simbricks
ENV PYTHONPATH=/simbricks/experiments
Write
Preview
Markdown
is supported
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