-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (18 loc) · 809 Bytes
/
Dockerfile
File metadata and controls
22 lines (18 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM bitnami/minideb:stretch
# docker build -t spack/contrib .
LABEL "com.github.actions.name"="Contributions over Time"
LABEL "com.github.actions.description"="A GitHub action to make a stacked area plot of contributions over time."
LABEL "com.github.actions.icon"="bar-chart"
LABEL "com.github.actions.color"="blue"
ENV PATH /opt/conda/bin:${PATH}
ENV LANG C.UTF-8
RUN /bin/bash -c "install_packages wget git ca-certificates gnupg2 && \
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda && \
rm Miniconda3-latest-Linux-x86_64.sh && \
conda install -y -c conda-forge numpy matplotlib"
WORKDIR /code
COPY . /code
RUN pip install . \
&& chmod u+x /code/entrypoint.sh
ENTRYPOINT ["/code/entrypoint.sh"]