-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
29 lines (21 loc) · 841 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
25
26
27
28
29
FROM ubuntu:20.04
LABEL maintainer="Jaeyoung Chun ([email protected])"
ARG GIT_AUTH_TOKEN
ARG CROMSFER_VERSION
RUN apt-get update \
&& apt-get install --yes build-essential python3 python3-pip
RUN apt-get install --yes wget curl zlib1g-dev libbz2-dev liblzma-dev
# for private repo
# RUN cd /tmp \
# && curl -L -o cromsfer.tgz -H "Authorization: token ${GIT_AUTH_TOKEN}" https:/hisplan/cromsfer/archive/v${CROMSFER_VERSION}.tar.gz \
# && tar xvzf cromsfer.tgz \
# && cd cromsfer-${CROMSFER_VERSION} \
# && pip3 install .
# for public repo
RUN cd /tmp \
&& curl -L -o cromsfer.tgz https:/hisplan/cromsfer/archive/refs/tags/v${CROMSFER_VERSION}.tar.gz \
&& tar xvzf cromsfer.tgz \
&& cd cromsfer-${CROMSFER_VERSION} \
&& pip3 install .
RUN pip3 install awscli
# install gsutil