2019-02-19 10:05:42 +00:00
|
|
|
## Dockerfile for gitit
|
2023-08-28 19:20:18 +00:00
|
|
|
# FROM debian:bookworm-slim
|
|
|
|
FROM bitnami/minideb:bookworm
|
2019-02-19 10:05:42 +00:00
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
##
|
|
|
|
## make the "en_US.UTF-8" locale
|
|
|
|
##
|
2023-08-28 19:20:18 +00:00
|
|
|
RUN install_packages locales \
|
2019-02-19 10:05:42 +00:00
|
|
|
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
|
|
|
ENV LANG en_US.utf8
|
|
|
|
|
|
|
|
##
|
|
|
|
## install gitit
|
|
|
|
##
|
2023-08-28 15:47:18 +00:00
|
|
|
ENV GITIT_VERSION 0.15.1.0+dfsg-2+b4
|
2019-02-19 10:05:42 +00:00
|
|
|
|
2023-08-28 17:11:23 +00:00
|
|
|
# RUN wget --progress=dot:giga -O libghc-filestore-dev_0.6.5-2+b3_amd64.deb \
|
|
|
|
# http://ftp.us.debian.org/debian/pool/main/h/haskell-filestore/libghc-filestore-dev_0.6.5-2+b3_amd64.deb \
|
|
|
|
# && ( dpkg -i libghc-filestore-dev_0.6.5-2+b3_amd64.deb || true ) \
|
|
|
|
# && apt-get install -y -f \
|
|
|
|
# && rm -f libghc-filestore-dev_0.6.5-2+b3_amd64.deb
|
|
|
|
|
2023-08-28 19:20:18 +00:00
|
|
|
RUN install_packages \
|
2023-08-28 17:11:23 +00:00
|
|
|
mime-support gitit=$GITIT_VERSION \
|
2023-08-28 19:20:18 +00:00
|
|
|
openssh-client
|
2019-02-19 10:05:42 +00:00
|
|
|
|
|
|
|
VOLUME ["/data"]
|
|
|
|
|
|
|
|
COPY docker-entrypoint.sh /
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
EXPOSE 5001
|
|
|
|
|
|
|
|
CMD ["gitit", "-f", "/data/gitit.conf"]
|
|
|
|
|