Upgrade Python image in Dockerfile (#669)

Vulnerable Python image upgraded to python:3.11.0a5-alpine
pull/691/head
Albony Cal 2 years ago committed by GitHub
parent e72d8437f7
commit c3634a5135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
FROM python:3.8-alpine as builder
FROM python:3.11.0a5-alpine as builder
RUN apk --update add \
build-base \
@ -12,7 +12,7 @@ COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt
FROM python:3.8-alpine
FROM python:3.11.0a5-alpine
RUN apk add --update --no-cache tor curl openrc
# libcurl4-openssl-dev

Loading…
Cancel
Save