Files
mixtape-build-image/Dockerfile
2026-01-23 17:33:28 +01:00

33 lines
997 B
Docker

FROM debian:trixie-slim
ENV CHORDPRO_PIPELINE=true
ARG ZOLA_VERSION="0.22.0"
ARG CHORDPRO_VERSION="6.090.1"
# Install runtime dependencies only, clean up after
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
openssl \
openssh-client \
rsync \
git \
wget \
libio-socket-ssl-perl \
libharfbuzz-shaper-perl \
ghostscript \
nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y --no-install-recommends build-essential cpanminus \
&& cpanm chordpro@${CHORDPRO_VERSION} \
&& apt-get purge -y --auto-remove build-essential cpanminus \
&& rm -rf /root/.cpanm /var/lib/apt/lists/*
RUN wget -q https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz \
&& tar -xzf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz \
&& mv zola /usr/local/bin/ \
&& rm zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
CMD ["/bin/sh"]