changed to secure focused wolf image
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
fd7cd93357
commit
65f7568d94
@ -3,10 +3,10 @@
|
|||||||
# ============================================
|
# ============================================
|
||||||
# Build Stage
|
# Build Stage
|
||||||
# ============================================
|
# ============================================
|
||||||
FROM alpine:latest AS build
|
FROM cgr.dev/chainguard/wolfi-base:latest AS build
|
||||||
|
|
||||||
# Nur die benötigten Pakete installieren mit --no-chache
|
# Nur die benötigten Pakete installieren mit --no-chache
|
||||||
RUN apk add --no-cache gcc musl-dev
|
RUN apk add --no-cache build-base
|
||||||
|
|
||||||
# WORKDIR setzen
|
# WORKDIR setzen
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -20,7 +20,7 @@ RUN gcc -o deployment deployment.c
|
|||||||
# ============================================
|
# ============================================
|
||||||
# Runtime Stage
|
# Runtime Stage
|
||||||
# ============================================
|
# ============================================
|
||||||
FROM alpine:latest AS runtime
|
FROM cgr.dev/chainguard/wolfi-base:latest AS runtime
|
||||||
|
|
||||||
# Curl für den HEALTHCHECK
|
# Curl für den HEALTHCHECK
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user