fix: Use bitnami/minideb instead of debian
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-08-28 21:20:18 +02:00
parent e5cd70a4c3
commit 97f01985fc

View file

@ -1,15 +1,12 @@
## Dockerfile for gitit ## Dockerfile for gitit
FROM debian:bookworm-slim # FROM debian:bookworm-slim
MAINTAINER Glenn Y. Rolland <glenux@glenux.net> FROM bitnami/minideb:bookworm
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
## ##
## make the "en_US.UTF-8" locale ## make the "en_US.UTF-8" locale
## ##
RUN apt-get update \ RUN install_packages locales \
&& apt-get install -y --no-install-recommends locales wget \
&& rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8 ENV LANG en_US.utf8
@ -24,12 +21,9 @@ ENV GITIT_VERSION 0.15.1.0+dfsg-2+b4
# && apt-get install -y -f \ # && apt-get install -y -f \
# && rm -f libghc-filestore-dev_0.6.5-2+b3_amd64.deb # && rm -f libghc-filestore-dev_0.6.5-2+b3_amd64.deb
RUN apt-get update \ RUN install_packages \
&& apt-cache policy gitit \
&& apt-get install -y --no-install-recommends \
mime-support gitit=$GITIT_VERSION \ mime-support gitit=$GITIT_VERSION \
openssh-client \ openssh-client
&& rm -rf /var/lib/apt/lists/*
VOLUME ["/data"] VOLUME ["/data"]