File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ jobs:
185
185
python -m
186
186
pip install
187
187
--user
188
- setuptools-scm
188
+ setuptools-scm~=8.2
189
189
shell : bash
190
190
- name : Set the current dist version from Git
191
191
id : scm-version
Original file line number Diff line number Diff line change 1
- ARG TAG=3.12.0-alpine3.17@sha256:fc34b07ec97a4f288bc17083d288374a803dd59800399c76b977016c9fe5b8f2
2
- FROM python:${TAG} as builder
1
+ FROM python:3.12.0-alpine3.17@sha256:fc34b07ec97a4f288bc17083d288374a803dd59800399c76b977016c9fe5b8f2 AS python_base
2
+
3
+ FROM python_base AS builder
3
4
ARG TARGETOS
4
5
ARG TARGETARCH
5
6
@@ -11,8 +12,8 @@ RUN apk add --no-cache \
11
12
curl=~8 && \
12
13
# Upgrade packages for be able get latest Checkov
13
14
python3 -m pip install --no-cache-dir --upgrade \
14
- pip \
15
- setuptools
15
+ pip~=25.0 \
16
+ setuptools~=75.8
16
17
17
18
COPY tools/install/ /install/
18
19
@@ -100,7 +101,7 @@ RUN . /.env && \
100
101
101
102
102
103
103
- FROM python:${TAG}
104
+ FROM python_base
104
105
105
106
RUN apk add --no-cache \
106
107
# pre-commit deps
You can’t perform that action at this time.
0 commit comments