Skip to content

Commit a134d16

Browse files
authored
chore(deps): Use latest available Python 3.12 base image (antonbabenko#924)
* chore(deps): Use latest available Python 3.12 base image * Bump docker image versions * f * f * Update tests
1 parent 435f488 commit a134d16

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/.container-structure-test-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ commandTests:
2020
args:
2121
- --version
2222
expectedOutput:
23-
- ^gcc \(Alpine 12\.
23+
- ^gcc \(Alpine 14\.
2424

2525
- name: checkov
2626
command: checkov
@@ -131,7 +131,7 @@ commandTests:
131131
args:
132132
- -V
133133
expectedError:
134-
- ^OpenSSH_9\.[0-9]+
134+
- ^OpenSSH_10\.[0-9]+
135135

136136
fileExistenceTests:
137137
- name: terrascan init

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12.0-alpine3.17@sha256:fc34b07ec97a4f288bc17083d288374a803dd59800399c76b977016c9fe5b8f2 AS python_base
1+
FROM python:3.12-alpine@sha256:9b8808206f4a956130546a32cbdd8633bc973b19db2923b7298e6f90cc26db08 AS python_base
22

33
FROM python_base AS builder
44
ARG TARGETOS
@@ -116,11 +116,11 @@ RUN apk add --no-cache \
116116
bash=~5 \
117117
# pre-commit-hooks deps: https://github.com/pre-commit/pre-commit-hooks
118118
musl-dev=~1 \
119-
gcc=~12 \
119+
gcc=~14 \
120120
# entrypoint wrapper deps
121121
su-exec=~0.2 \
122122
# ssh-client for external private module in ssh
123-
openssh-client=~9
123+
openssh-client=~10
124124

125125
# Copy tools
126126
COPY --from=builder \

tools/install/checkov.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readonly SCRIPT_DIR
99
#
1010

1111
apk add --no-cache \
12-
gcc=~12 \
12+
gcc=~14 \
1313
libffi-dev=~3 \
1414
musl-dev=~1
1515

0 commit comments

Comments
 (0)