Skip to content

Commit

Permalink
simplify rocky build
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Jul 18, 2024
1 parent c091a01 commit 2f50aa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions rocky/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ RUN dnf update -y && dnf install -y gettext
# Specify flux deps in the spack manifest file (spack.yaml)
RUN mkdir /opt/spack-environment \
&& (echo spack: \
&& echo ' specs: [flux-sched, flux-core, [email protected], [email protected], [email protected]]' \
#&& echo ' specs: [flux-sched, flux-core, [email protected]]' \
&& echo ' specs: [flux-sched, flux-core, [email protected]]' \
&& echo ' view: /opt/views/view' \
&& echo ' concretizer:' \
&& echo ' unify: true' \
Expand Down Expand Up @@ -38,7 +37,7 @@ RUN find -L /opt/views/view/* -type f -exec readlink -f '{}' \; | \
# Modifications to the environment that are necessary to run
RUN cd /opt/spack-environment && \
spack env activate --sh -d . > activate.sh && \
./activate.sh && \
. /activate.sh && \
python3 -m ensurepip

# Bare OS image to run the installed executables
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN find -L /opt/views/view/* -type f -exec readlink -f '{}' \; | \
# Modifications to the environment that are necessary to run
RUN cd /opt/spack-environment && \
spack env activate --sh -d . > activate.sh && \
./activate.sh && \
. ./activate.sh && \
python3 -m ensurepip

# Bare OS image to run the installed executables
Expand Down

0 comments on commit 2f50aa3

Please sign in to comment.