forked from ai4os/DEEPaaS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.CI
32 lines (28 loc) · 1.31 KB
/
Dockerfile.CI
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
30
31
32
FROM indigodatacloud/ci-images:base-u18
MAINTAINER Pablo Orviz <[email protected]>
RUN apt-get update \
&& apt-get install --no-install-recommends -y wget \
git \
python3.7 python3-dev python-pip \
python-setuptools python-wheel \
python3-wheel python3-pip python3-venv \
build-essential \
libcurl4-gnutls-dev \
libffi-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
libgnutls28-dev \
default-libmysqlclient-dev libsqlite3-dev \
curl \
tox flake8 pylint pydocstyle pep8 bandit \
&& rm -rf /var/lib/apt/lists/*
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
# otherwise issues with twine<=1.10.0
RUN pip install twine==1.11.0
RUN pip install -U wheel setuptools
# Standard SSH port
EXPOSE 22
# Default command
CMD ["/usr/sbin/sshd", "-D"]