move to alpine

This commit is contained in:
Michael Grote 2023-11-08 15:53:22 +01:00
parent 0a215bcf3d
commit 126f88da1a

View file

@ -1,14 +1,11 @@
FROM ubuntu:focal # hadolint ignore=DL3007
FROM alpine:latest
# deaktiviert Nachfragen beim installieren von Paketen # hadolint ignore=DL3018
ENV DEBIAN_FRONTEND=noninteractive RUN apk add --no-cache \
git \
# Install necessary packages openssh-client \
# hadolint ignore=DL3008 iputils-ping
RUN apt-get update && \
apt-get -y --no-install-recommends install git openssh-client iputils-ping && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
# Copy the script into the container # Copy the script into the container
COPY app.sh /app/app.sh COPY app.sh /app/app.sh