From c2750f9de1e78fdef33bfac2fd1ccfc3eb6fa956 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 7 Jul 2022 13:19:09 +0200 Subject: [PATCH 1/2] Dockerfile: Upgrade Python --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 911fe69..96b847a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7-alpine as build +FROM python:3.10-alpine as build WORKDIR /wheels RUN apk add --no-cache \ g++ \ @@ -12,7 +12,7 @@ COPY requirements.txt /opt/sherlock/ RUN pip3 wheel -r /opt/sherlock/requirements.txt -FROM python:3.7-alpine +FROM python:3.10-alpine WORKDIR /opt/sherlock ARG VCS_REF ARG VCS_URL="https://github.com/sherlock-project/sherlock" From 4486c8e0b2db4747cd84e9c8c6a31c888718820f Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 Mar 2023 11:49:29 +0100 Subject: [PATCH 2/2] Python 3.11 is faster --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96b847a..a457dc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as build +FROM python:3.11-alpine as build WORKDIR /wheels RUN apk add --no-cache \ g++ \ @@ -12,7 +12,7 @@ COPY requirements.txt /opt/sherlock/ RUN pip3 wheel -r /opt/sherlock/requirements.txt -FROM python:3.10-alpine +FROM python:3.11-alpine WORKDIR /opt/sherlock ARG VCS_REF ARG VCS_URL="https://github.com/sherlock-project/sherlock"