mixtape-build-image/Dockerfile

19 lines
678 B
Docker
Raw Normal View History

2024-04-03 10:39:32 +02:00
FROM debian:latest
2024-06-01 12:12:05 +02:00
# Used in the makefile
ENV CHORDPRO_PIPELINE true
2024-04-03 10:39:32 +02:00
ARG ZOLA_VERSION="0.18.0"
ARG CHORDPRO_VERSION="6.050"
RUN apt update -y && apt-get install -y --no-install-recommends \
ca-certificates openssl openssh-client rsync git wget build-essential cpanminus ghostscript
RUN update-ca-certificates
RUN cpanm chordpro@${CHORDPRO_VERSION}
RUN wget https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
tar -xvzf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
mv zola /usr/local/bin/zola && \
rm zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
CMD ["/bin/sh"]