File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.5
1+ FROM python:3.9
22
33ARG HTTP_PROXY
44ARG http_proxy
55ARG HTTPS_PROXY
66ARG https_proxy
7+ ENV TEST_ETCD_VERSION v3.3.10
78
8- RUN curl -L http ://github.com/coreos /etcd/releases/download/v3.0.10 /etcd-v3.0.10 -linux-amd64.tar.gz | tar xzvf -
9- ENV PATH $PATH:/etcd-v3.0.10 -linux-amd64
9+ RUN curl -L https ://github.com/etcd-io /etcd/releases/download/${TEST_ETCD_VERSION} /etcd-${TEST_ETCD_VERSION} -linux-amd64.tar.gz | tar xzvf -
10+ ENV PATH $PATH:/etcd-${TEST_ETCD_VERSION} -linux-amd64
1011
1112RUN pip install -U tox
1213
@@ -16,9 +17,9 @@ WORKDIR python-etcd3
1617COPY tox.ini ./
1718COPY requirements/base.txt requirements/test.txt ./requirements/
1819
19- RUN tox -epy35 --notest
20+ RUN tox -epy39 --notest
2021
2122COPY . ./
2223
2324ENV ETCDCTL_API 3
24- CMD ["tox" , "-epy35 " ]
25+ CMD ["tox" , "-epy39 " ]
You can’t perform that action at this time.
0 commit comments