move to alpine

This commit is contained in:
Michael Grote 2023-11-03 11:52:00 +01:00
parent 2ea60807fa
commit 47bcbe481f

View file

@ -1,18 +1,15 @@
FROM ubuntu:focal # hadolint ignore=DL3007
FROM alpine:latest
ENV DEBIAN_FRONTEND=noninteractive # hadolint ignore=DL3018
RUN apk update --no-cache && \
# hadolint ignore=DL3008,DL3028 apk add --no-cache \
RUN apt-get update && \ build-essential \
apt-get -y --no-install-recommends install \ wget \
build-essential \ rsync \
wget \ openssh-client \
rsync \ ca-certificates \
openssh-client \ debhelper \
ca-certificates \ git \
debhelper \ curl \
git \ yamllint \
curl \ bash \
yamllint \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*