From 97f01985fca62640ab420508a41de57ae463bf36 Mon Sep 17 00:00:00 2001 From: Glenn Date: Mon, 28 Aug 2023 21:20:18 +0200 Subject: [PATCH] fix: Use bitnami/minideb instead of debian --- Dockerfile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index e4a3998..0b08704 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,12 @@ ## Dockerfile for gitit -FROM debian:bookworm-slim -MAINTAINER Glenn Y. Rolland - +# FROM debian:bookworm-slim +FROM bitnami/minideb:bookworm ENV DEBIAN_FRONTEND noninteractive ## ## make the "en_US.UTF-8" locale ## -RUN apt-get update \ - && apt-get install -y --no-install-recommends locales wget \ - && rm -rf /var/lib/apt/lists/* \ +RUN install_packages locales \ && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 ENV LANG en_US.utf8 @@ -24,12 +21,9 @@ ENV GITIT_VERSION 0.15.1.0+dfsg-2+b4 # && apt-get install -y -f \ # && rm -f libghc-filestore-dev_0.6.5-2+b3_amd64.deb -RUN apt-get update \ - && apt-cache policy gitit \ - && apt-get install -y --no-install-recommends \ +RUN install_packages \ mime-support gitit=$GITIT_VERSION \ - openssh-client \ - && rm -rf /var/lib/apt/lists/* + openssh-client VOLUME ["/data"]