File: Dockerfile

package info (click to toggle)
python-etcd3 0.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 640 kB
  • sloc: python: 2,111; makefile: 165
file content (23 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.5

ARG HTTP_PROXY
ARG http_proxy
ARG HTTPS_PROXY
ARG https_proxy

RUN curl -L http://github.com/coreos/etcd/releases/download/v3.0.10/etcd-v3.0.10-linux-amd64.tar.gz | tar xzvf -
ENV PATH $PATH:/etcd-v3.0.10-linux-amd64

RUN pip install -U tox

RUN mkdir python-etcd3
WORKDIR python-etcd3
# Rebuild this layer .tox when tox.ini or requirements changes
COPY tox.ini requirements.txt test-requirements.txt ./

RUN tox -epy35 --notest

COPY . ./

ENV ETCDCTL_API 3
CMD ["tox", "-epy35"]