-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (14 loc) · 709 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.7
MAINTAINER wanghongyu [email protected]
RUN mkdir -p /workspace
WORKDIR /workspace
COPY . ./
RUN pip install -i http:https://pypi.mirrors.ustc.edu.cn/simple --trusted-host pypi.mirrors.ustc.edu.cn --upgrade pip && \
pip install -i http:https://pypi.mirrors.ustc.edu.cn/simple --trusted-host pypi.mirrors.ustc.edu.cn -r /workspace/requirements.txt
RUN cd /workspace && \
wget https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.1-linux-x86_64.tar.gz && \
tar xvfz julia-1.6.1-linux-x86_64.tar.gz && \
rm julia-1.6.1-linux-x86_64.tar.gz && \
cp -r julia-1.6.1 /opt/ && \
rm -rf /workspace/julia-1.6.1 && \
ln -s /opt/julia-1.6.1/bin/julia /usr/bin/julia