Commit f2bfa61 1 parent a85cdf8 commit f2bfa61 Copy full SHA for f2bfa61
File tree 3 files changed +10
-9
lines changed
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ ARG UBUNTU_VERSION
3
3
FROM ubuntu:$UBUNTU_VERSION
4
4
5
5
RUN apt-get update -y && \
6
- apt-get -y install software-properties-common && \
7
- add-apt-repository -y ppa:deadsnakes/ppa && \
8
- apt-get install -y python3.11 python3.11-venv
6
+ DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \
7
+ DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:deadsnakes/ppa && \
8
+ DEBIAN_FRONTEND=noninteractive apt-get install -y python3.11 python3.11-venv
9
9
10
10
COPY ./requirements.txt /requirements.txt
11
11
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
context : ./server
7
7
dockerfile : ./.dockerfiles/Dockerfile
8
8
args :
9
- UBUNTU_VERSION : ' 20 .04'
9
+ UBUNTU_VERSION : ' 22 .04'
10
10
LOGIN_USER : ' docker'
11
11
WORKSPACE : ' /home/docker/.autotesting'
12
12
image : markus-autotest-server-dev:1.1.0
@@ -28,7 +28,7 @@ services:
28
28
context : ./client
29
29
dockerfile : ./.dockerfiles/Dockerfile
30
30
args :
31
- UBUNTU_VERSION : ' 20 .04'
31
+ UBUNTU_VERSION : ' 22 .04'
32
32
image : markus-autotest-client-dev:1.1.0
33
33
container_name : ' autotest-client'
34
34
volumes :
Original file line number Diff line number Diff line change @@ -2,15 +2,14 @@ ARG UBUNTU_VERSION
2
2
3
3
FROM ubuntu:$UBUNTU_VERSION as base
4
4
5
- ENV DEBIAN_FRONTEND=noninteractive
6
5
7
6
ARG LOGIN_USER
8
7
ARG WORKSPACE
9
8
10
9
RUN apt-get update -y && \
11
- apt-get -y install software-properties-common && \
12
- add-apt-repository -y ppa:deadsnakes/ppa && \
13
- apt-get -y install python3.7 \
10
+ DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \
11
+ DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:deadsnakes/ppa && \
12
+ DEBIAN_FRONTEND=noninteractive apt-get -y install python3.7 \
14
13
python3.7-venv \
15
14
python3.8 \
16
15
python3.8-venv \
@@ -36,6 +35,8 @@ RUN useradd -ms /bin/bash $LOGIN_USER && \
36
35
usermod -aG $worker $LOGIN_USER; \
37
36
done
38
37
38
+ RUN chmod a+x /home/${LOGIN_USER}
39
+
39
40
COPY . /app
40
41
41
42
RUN python3.11 -m venv /markus_venv && \
You can’t perform that action at this time.
0 commit comments