forked from ebm17915/scraps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (24 loc) · 948 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM csunmetalab/environment:base-20190130
COPY . /var/www/html
FROM csunmetalab/environment:base
RUN apt-get update && apt-get install -y \
git \
vim \
zip \
# Install basic utilities
# Add yarn and required packagessources
&& curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs \
&& npm config set scripts-prepend-node-path true \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& add-apt-repository -y ppa:deadsnakes/ppa \
# Install yarn, python3.6 and librariers
&& apt-get update && apt-get install -y \
yarn \
python3.6 \
python3-pip \
&& python3.6 -m pip install pandas \
&& python3.6 -m pip install simplejson \
# Clean image
&& apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* && rm -rf /etc/apt/sources.list.d/*