forked from freudenreichan/EinfuehrungInDocker_Pipeline2
Changed Dockerfile to chainguard
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
07efd2bc17
commit
a86e31d69a
@ -1,6 +1,6 @@
|
||||
# BUILD STAGE
|
||||
# Base-Image
|
||||
FROM debian:stable-slim AS build
|
||||
FROM cgr.dev/chainguard/wolfi-base.latest AS build
|
||||
|
||||
# Pakete installieren
|
||||
RUN apt-get update
|
||||
@ -17,7 +17,7 @@ RUN gcc -o deployment deployment.c
|
||||
|
||||
|
||||
# RUNTIME STAGE
|
||||
FROM debian:stable-slim
|
||||
FROM cgr.dev/chainguard/wolfi-base:latest
|
||||
|
||||
RUN useradd -m appuser
|
||||
USER appuser
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user