pin tpotinit to alpine 3.20

This commit is contained in:
t3chn0m4g3 2025-02-20 17:29:16 +01:00
parent 26a25719ff
commit bdea4e2932
2 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:edge FROM alpine:3.20
# #
# Include dist # Include dist
COPY dist/ /opt/tpot/ COPY dist/ /opt/tpot/
@ -26,9 +26,8 @@ RUN apk --no-cache -U upgrade && \
openssl \ openssl \
pigz \ pigz \
tar \ tar \
uuidgen && \ uuidgen \
apk --no-cache -U add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \ yq-go && \
yq && \
# #
# Setup user, logrotate permissions # Setup user, logrotate permissions
addgroup -g 2000 tpot && \ addgroup -g 2000 tpot && \

View file

@ -8,7 +8,7 @@ services:
- $HOME/tpotce/.env - $HOME/tpotce/.env
restart: "no" restart: "no"
stop_grace_period: 60s stop_grace_period: 60s
image: "dtagdevsec/tpotinit:24.04" image: "ghcr.io/telekom-security/tpotinit:24.04.1"
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- $HOME/tpotce/data:/data - $HOME/tpotce/data:/data