Upgrade Python image in Dockerfile (#669)

Vulnerable Python image upgraded to python:3.11.0a5-alpine
main
Albony Cal 2022-02-23 22:03:46 +05:30 committed by GitHub
parent e72d8437f7
commit c3634a5135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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