From 47bcbe481f51d20555209768fcf8a9242a478be7 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 3 Nov 2023 11:52:00 +0100 Subject: [PATCH] move to alpine --- Dockerfile | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index 20002d5..30d7683 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \