move to alpine

This commit is contained in:
Michael Grote 2023-11-03 11:52:00 +01:00
parent 2ea60807fa
commit 47bcbe481f
1 changed files with 15 additions and 18 deletions

View File

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