Upgrade Python image in Dockerfile (#669)
Vulnerable Python image upgraded to python:3.11.0a5-alpinemain
parent
e72d8437f7
commit
c3634a5135
|
@ -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…
Reference in New Issue