forked from NidaboyinTokyo/ProjectShiERD
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
20 lines (19 loc) · 750 Bytes
/
Copy pathdockerfile
File metadata and controls
20 lines (19 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM debian:bullseye
LABEL maintainer = 'Juyoung Jo <kitkat7333@gmail.com>'
RUN apt update -y && apt upgrade -y
RUN DEBIAN_FRONTED=noninteractive apt install -y locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
# install python3
RUN apt install python3 -y
RUN apt install python3-pip -y
# install openmpi and non-root user setting
RUN apt install openmpi-bin libopenmpi-dev glibc-source -y
COPY requirements.txt /
RUN pip3 install -r requirements.txt
# change uid/gid and username @ each environment
RUN adduser -uid 1001 juyoung
RUN mkdir -p /home/juyoung/swmm521
WORKDIR /home/juyoung/swmm521