forked from maxibor/conda-package-publish-action
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Dockerfile
29 lines (22 loc) · 975 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:16.04
ENV PATH="/root/miniconda3/bin:${PATH}"
ARG PATH="/root/miniconda3/bin:${PATH}"
RUN apt-get update
RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
# install miniconda
RUN wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh \
RUN conda --version
LABEL "repository"="https://github.com/fcakyon/conda-publish-action"
LABEL "maintainer"="Fatih C Akyon"
RUN apt-get update
# to fix: import cv2 > ImportError: libGL.so.1: cannot open shared object file: No such file or directory
RUN apt-get install -y libgl1-mesa-dev
# to fix: import cv2 > ImportError: libjasper.so.1: cannot open shared object file: No such file or directory
RUN apt-get install -y libjasper1
RUN conda install -y anaconda-client conda-build conda-verify
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]