forked from freudenreichan/EinfuehrungInDocker_Pipeline2
This commit is contained in:
parent
ab6a57956f
commit
7ce2ff3584
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.21 AS builder
|
FROM alpine:3.21.6 AS builder
|
||||||
|
|
||||||
RUN apk add --no-cache build-base
|
RUN apk add --no-cache build-base
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN gcc -o deployment deployment.c
|
RUN gcc -o deployment deployment.c
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM alpine:3.21.6
|
||||||
|
|
||||||
RUN addgroup -g 1000 appgroup && \
|
RUN addgroup -g 1000 appgroup && \
|
||||||
adduser -D -u 1000 -G appgroup appuser
|
adduser -D -u 1000 -G appgroup appuser
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user