Update Dockerfile to use apk for package installation and remove unnecessary apt commands
This commit is contained in:
+3
-5
@@ -5,9 +5,7 @@ USER root
|
||||
# Docker CLI – behövs för shell-jobb som kör docker-kommandon direkt
|
||||
# openssh-client – behövs för deployment-scripts via SSH
|
||||
# curl – allmänt användbart i workflow-steg
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
RUN apk add --no-cache \
|
||||
curl \
|
||||
docker.io \
|
||||
openssh-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
docker-cli \
|
||||
openssh-client
|
||||
|
||||
Reference in New Issue
Block a user