Skip to content

Commit 797b4b0

Browse files
goatrocksMC
andauthored
fix: change dockerfile (#330)
* fix: change dockerfile * Create tox.Dockerfile --------- Co-authored-by: MC <[email protected]>
1 parent d12fbf1 commit 797b4b0

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
FROM ubuntu:20.04
1+
FROM python:3.10.4
22

3-
4-
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -yqq apt-transport-https
5-
6-
#deadsnakes holds old versions of python for ubuntu
7-
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yqq software-properties-common && add-apt-repository ppa:deadsnakes/ppa
8-
9-
RUN DEBIAN_FRONTEND=noninteractive apt-get -yqq install python3.7 python3.8 python3.9 python3.10 python3.11 python3.12 python3-pip
10-
11-
RUN pip3 install tox==4.11.3
3+
ENV INDICO_HOST="try.indico.io"
124

135
COPY . /indico-client
146
WORKDIR /indico-client

tox.Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ubuntu:20.04
2+
3+
4+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -yqq apt-transport-https
5+
6+
#deadsnakes holds old versions of python for ubuntu
7+
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yqq software-properties-common && add-apt-repository ppa:deadsnakes/ppa
8+
9+
RUN DEBIAN_FRONTEND=noninteractive apt-get -yqq install python3.7 python3.8 python3.9 python3.10 python3.11 python3.12 python3-pip
10+
11+
RUN pip3 install tox==4.11.3
12+
13+
COPY . /indico-client
14+
WORKDIR /indico-client

0 commit comments

Comments
 (0)