19 lines
678 B
Docker
19 lines
678 B
Docker
FROM debian:latest
|
|
|
|
# Used in the makefile
|
|
ENV CHORDPRO_PIPELINE true
|
|
|
|
ARG ZOLA_VERSION="0.19.2"
|
|
ARG CHORDPRO_VERSION="6.060"
|
|
|
|
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"]
|