move to alpine

This commit is contained in:
Michael Grote 2023-11-08 16:20:13 +01:00
parent d573f0af84
commit 017fef9b52

View file

@ -1,14 +1,10 @@
FROM ubuntu:focal
# hadolint ignore=DL3007
FROM alpine:latest
# deaktiviert Nachfragen beim installieren von Paketen
ENV DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008,DL3028,DL4006
RUN apt-get update && \
apt-get -y --no-install-recommends install \
python3-pip curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
# hadolint ignore=DL3018
RUN apk add --no-cache \
python3-pip \
curl
WORKDIR /app