Skip to content

Commit d4ea0d7

Browse files
committed
Now working on MacOS
1 parent 729f4a1 commit d4ea0d7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
FROM debian:12
1+
FROM debian:12.5
22
MAINTAINER Michael Kavulich <kavulich@ucar.edu>
33

44
# Set up base OS environment
55

66
RUN apt-get -y update
77

88
# Get "essential" tools and libraries
9-
RUN apt-get -y install build-essential
10-
RUN apt-get -y install cmake curl git file gfortran-12 ksh m4 python3 tcsh time wget vim
11-
RUN apt-get -y install libnetcdf-pnetcdf-19 libnetcdff7 libnetcdf-dev libnetcdff-dev libxml2
12-
RUN apt-get -y install python3-pip python3.11-venv
13-
RUN apt-get -y install openmpi-bin openmpi-common openmpi-doc libopenmpi-dev
9+
RUN apt-get -y install build-essential \
10+
&& apt-get -y install cmake curl git file gfortran-12 ksh m4 python3 tcsh time wget vim \
11+
&& apt-get -y install libnetcdf-pnetcdf-19 libnetcdff7 libnetcdf-dev libnetcdff-dev libxml2 \
12+
&& apt-get -y install python3-pip python3.11-venv \
13+
&& apt-get -y install openmpi-bin openmpi-common openmpi-doc libopenmpi-dev
1414
MAINTAINER Grant Firl <grantf@ucar.edu> or Michael Kavulich <kavulich@ucar.edu>
1515

1616
#Compiler environment variables
@@ -34,7 +34,7 @@ RUN groupadd comusers -g 9999 \
3434

3535
# Link version-specific aliases (python3 will be created later with virtual environment)
3636
RUN ln -s ~comuser/.venv/bin/python3 /usr/local/bin/python
37-
RUN ln -s /usr/bin/gfortran-12 /usr/bin/gfortran
37+
RUN ln -s /usr/bin/python3 /usr/bin/python
3838

3939
# all root steps completed above, now continue below as regular userID comuser
4040
USER comuser

0 commit comments

Comments
 (0)