From 42575ff2aed9673f188e32988068f0d66a7d91b1 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 8 Nov 2023 15:46:01 +0100 Subject: [PATCH] moce to alpine --- Dockerfile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c18adc..0d86d4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,18 @@ -FROM ubuntu:focal - -ENV DEBIAN_FRONTEND=noninteractive +# hadolint ignore=DL3007 +FROM alpine:latest # hadolint ignore=DL3008 -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends bash curl ca-certificates jq curl findutils sed coreutils gawk iputils-ping \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* \ - && mkdir -p /data \ +RUN apk add \ + bash \ + curl \ + ca-certificates \ + jq \ + curl \ + findutils \ + sed \ + coreutils \ + gawk \ + iputils-ping \ && touch /data/filter.txt # findutils = xargs