Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
python -m
pip install
--user
setuptools-scm
setuptools-scm~=8.2
shell: bash
- name: Set the current dist version from Git
id: scm-version
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG TAG=3.12.0-alpine3.17@sha256:fc34b07ec97a4f288bc17083d288374a803dd59800399c76b977016c9fe5b8f2
FROM python:${TAG} as builder
FROM python:3.12.0-alpine3.17@sha256:fc34b07ec97a4f288bc17083d288374a803dd59800399c76b977016c9fe5b8f2 AS python_base

FROM python_base AS builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -11,8 +12,8 @@ RUN apk add --no-cache \
curl=~8 && \
# Upgrade packages for be able get latest Checkov
python3 -m pip install --no-cache-dir --upgrade \
pip \
setuptools
pip~=25.0 \
setuptools~=75.8

COPY tools/install/ /install/

Expand Down Expand Up @@ -100,7 +101,7 @@ RUN . /.env && \



FROM python:${TAG}
FROM python_base

RUN apk add --no-cache \
# pre-commit deps
Expand Down