added appuser and alpine instead of ubuntu
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Eric Sharifi 2026-04-11 11:25:19 +00:00
parent dea458fcb2
commit 58b62f6d20

View File

@ -1,10 +1,14 @@
# Base-Image # Base-Image
FROM ubuntu:latest FROM alpine:latest
# Pakete installieren # Pakete installieren
RUN apt-get update RUN apt-get update
RUN apt-get install -y build-essential gcc curl vim net-tools RUN apt-get install -y build-essential gcc curl vim net-tools
# User erstellen
RUN adduser -D appuser
USER appuser
# Arbeitsverzeichnis setzen # Arbeitsverzeichnis setzen
WORKDIR /app WORKDIR /app