forked from freudenreichan/EinfuehrungInDocker_Pipeline2
Dockerfile aktualisiert
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
a42486619c
commit
2b85e26179
@ -1,8 +1,13 @@
|
|||||||
# Base-Image
|
# Base-Image
|
||||||
FROM ubuntu:latest
|
#FROM ubuntu:latest
|
||||||
|
|
||||||
# Pakete installieren
|
# Pakete installieren
|
||||||
RUN apt-get update && apt-get install -y build-essential gcc curl vim net-tools
|
#RUN apt-get update && apt-get install -y build-essential gcc curl vim net-tools
|
||||||
|
|
||||||
|
# Stage 1: Bauen (mit Alpine + gcc)
|
||||||
|
FROM alpine:3.19 AS build-env
|
||||||
|
|
||||||
|
RUN apk add --no-cache gcc musl-dev
|
||||||
|
|
||||||
# Arbeitsverzeichnis setzen
|
# Arbeitsverzeichnis setzen
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user