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.7.9-alpine3.13 AS compile-image
1+ FROM python:3.12-alpine AS compile-image
22
33WORKDIR /app
4- RUN apk --no-cache -U add \
5- gcc=10.2.1_pre1-r3 \
6- libc-dev=0.7.2-r3 \
4+ RUN apk --no-cache add \
5+ gcc \
6+ libc-dev \
77 && rm -rf /var/cache/apk/*
88
99COPY requirements.txt /app/requirements.txt
@@ -12,16 +12,16 @@ RUN python -m venv /app/venv
1212RUN pip3 install --upgrade pip setuptools wheel \
1313 && pip3 install --no-cache-dir -r requirements.txt
1414
15- FROM python:3.7.9-alpine3.13 AS build-image
15+ FROM python:3.12-alpine AS build-image
1616COPY --from=compile-image /app/venv /app/venv
1717
1818RUN apk --no-cache add \
19- git=2.30.2-r0 \
20- openjdk8 -jre=8.275.01-r0 \
21- curl=7.74.0-r1 \
19+ git \
20+ openjdk17 -jre-headless \
21+ curl \
2222 && rm -rf /var/cache/apk/*
2323
24- ENV VERSION 2.13.8
24+ ENV VERSION= 2.13.8
2525RUN wget https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/$VERSION/allure-commandline-$VERSION.tgz
2626RUN tar -zxf allure-commandline-$VERSION.tgz
2727RUN rm allure-commandline-${VERSION}.tgz
You can’t perform that action at this time.
0 commit comments