Skip to content

Commit

Permalink
Update Dockerfile on printme.sh for Alma9-base images
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwei Ye authored and Shuwei Ye committed Apr 4, 2024
1 parent 6776ebd commit f5f5c0b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alma9/ml-base/ml-base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ RUN chmod +x /tmp/gtar-newEnv-on-base.sh \
#
COPY setupMe-on-host.sh create-newEnv-on-base.sh setup-UserEnv-in-container.sh create-py_newEnv-on-base.sh /
COPY printme.sh /printme.sh
# RUN echo "source /printMe.sh" >> ~/.bashrc
RUN echo "source /printme.sh" >> ~/.bashrc

# Singularity
# RUN mkdir -p /.singularity.d/env \
Expand Down
2 changes: 1 addition & 1 deletion alma9/ml-pyroot/ml-pyroot.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ RUN chmod +x /tmp/gtar-newEnv-on-base.sh \
#
COPY setupMe-on-host.sh create-newEnv-on-base.sh setup-UserEnv-in-container.sh create-py_newEnv-on-base.sh /
COPY printme.sh /printme.sh
# RUN echo "source /printMe.sh" >> ~/.bashrc
RUN echo "source /printme.sh" >> ~/.bashrc

# Singularity
# RUN mkdir -p /.singularity.d/env \
Expand Down
1 change: 1 addition & 0 deletions alma9/ml-tensorflow-cpu/ml-tensorflow-cpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ RUN chmod +x /tmp/gtar-newEnv-on-base.sh \
#
COPY setupMe-on-host.sh test-tensorflow-with-cpu.py create-newEnv-on-base.sh setup-UserEnv-in-container.sh create-py_newEnv-on-base.sh /
COPY printme.sh /printme.sh
RUN echo "source /printme.sh" >> ~/.bashrc

# Singularity
# RUN mkdir -p /.singularity.d/env \
Expand Down
6 changes: 5 additions & 1 deletion alma9/ml-tensorflow-gpu/ml-tensorflow-gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ RUN chmod +x /tmp/gtar-newEnv-on-base.sh \
# copy setup script and readme file
#
COPY setupMe-on-host.sh check-gpu-in-tensorflow.py create-newEnv-on-base.sh setup-UserEnv-in-container.sh create-py_newEnv-on-base.sh /
COPY printme-gpu.sh /printme.sh
#
# The the package cuda-compat, has already included libcuda.so, so printme-gpu.sh is not longer correct.
# COPY printme-gpu.sh /printme.sh
COPY printme.sh /printme.sh
RUN echo "source /printme.sh" >> ~/.bashrc

# Singularity
# RUN mkdir -p /.singularity.d/env \
Expand Down

0 comments on commit f5f5c0b

Please sign in to comment.