git.iko.soy/typeable/pandoc
on master help sign in
linux/Dockerfile: upgrade to alpine 3.11

Closes: #6180

commit91f2bcfe73fa3a489654ee74bca02e24423dc5c0 authorAlbert Krewinkel <albert@zeitkraut.de> dateTue 10 Mar 2020, 11:59 (7 years ago) parent8787576
1 file changed+16−9
linux/Dockerfile+16−9
linux/Dockerfile+16−9
@@ -1,14 +1,21 @@
11# USE ALPINE LINUX
2−FROM alpine:3.10
3−RUN apk update
4−RUN apk add alpine-sdk git ca-certificates ghc gmp-dev zlib-dev bash dpkg fakeroot cabal
5−RUN mkdir -p /usr/src/
6−WORKDIR /usr/src/
7−RUN git clone https://github.com/jgm/pandoc
2+FROM alpine:3.11
3+RUN apk --no-cache add \
4+ alpine-sdk \
5+ bash \
6+ ca-certificates \
7+ cabal \
8+ dpkg \
9+ fakeroot \
10+ ghc \
11+ git \
12+ gmp-dev \
13+ xz \
14+ zlib-dev \
15+ zlib-static
16+RUN mkdir -p /usr/src/ && \
17+ git clone https://github.com/jgm/pandoc /usr/src/pandoc
818WORKDIR /usr/src/pandoc
9−RUN cabal update && \
10− cabal install cabal-install-2.4.0.0 && \
11− cp $HOME/.cabal/bin/cabal /usr/bin/
1219CMD cabal --version && \
1320 ghc --version && \
1421 git pull && \