mirror of
https://github.com/benbusby/whoogle-search
synced 2024-10-30 09:20:50 +00:00
Upgrade Python image in Dockerfile (#669)
Vulnerable Python image upgraded to python:3.11.0a5-alpine
This commit is contained in:
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 \
|
RUN apk --update add \
|
||||||
build-base \
|
build-base \
|
||||||
@ -12,7 +12,7 @@ COPY requirements.txt .
|
|||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt
|
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
|
RUN apk add --update --no-cache tor curl openrc
|
||||||
# libcurl4-openssl-dev
|
# libcurl4-openssl-dev
|
||||||
|
Loading…
Reference in New Issue
Block a user