Skip to content

Commit

Permalink
Update tutorial containers (#496)
Browse files Browse the repository at this point in the history
This PR bumps up the Python version used when building the tutorial
containers (both production and development) to avoid module incompatibility.
A minor bug in the tutorial container version number is also addressed
as part of this PR.

[ committed by @al-rigazzi ]
[ reviewed by @MattToast ]
  • Loading branch information
al-rigazzi authored Feb 20, 2024
1 parent b46d84d commit ccb25e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- "8888:8888"

tutorials-prod:
image: smartsim-tutorials:v0.6.1
image: smartsim-tutorials:v0.6.2
build:
context: .
dockerfile: ./docker/prod/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ RUN useradd --system --create-home --shell /bin/bash -g root -G sudo craylabs &&
apt-get update \
&& apt-get install --no-install-recommends -y build-essential \
git gcc make git-lfs wget libopenmpi-dev openmpi-bin unzip \
python3-pip python3 python3-dev cmake \
python3-pip python3.9 python3.9-dev cmake \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/bin/python3 /usr/bin/python
&& ln -s /usr/bin/python3.9 /usr/bin/python

WORKDIR /home/craylabs
RUN git clone https://github.com/CrayLabs/SmartRedis.git --branch develop --depth=1 smartredis \
Expand Down
4 changes: 2 additions & 2 deletions docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ RUN useradd --system --create-home --shell /bin/bash -g root -G sudo craylabs &&
apt-get update \
&& apt-get install --no-install-recommends -y build-essential \
git gcc make git-lfs wget libopenmpi-dev openmpi-bin unzip \
python3-pip python3 python3-dev cmake \
python3.9 python3.9-dev python3-pip cmake \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/bin/python3 /usr/bin/python
&& ln -s /usr/bin/python3.9 /usr/bin/python

WORKDIR /home/craylabs
COPY --chown=craylabs:root ./tutorials/ /home/craylabs/tutorials/
Expand Down

0 comments on commit ccb25e4

Please sign in to comment.