4RUN apk add alpine-sdk git ca-certificates ghc gmp-dev zlib-dev bash dpkg fakeroot
5# GRAB A RECENT BINARY OF STACK
6RUN curl -L https://github.com/commercialhaskell/stack/releases/download/v1.9.1/stack-1.9.1-linux-x86_64-static.tar.gz | tar xvf
7RUN cp stack-1.9.1-linux-x86_64-static/stack /usr/local/bin/stack
8RUN chmod +x /usr/local/bin/stack
9ENV PATH="/usr/local/bin:${PATH}"
11RUN stack config set system-ghc --global true
12RUN stack setup --resolver lts-12
15RUN git clone https://github.com/jgm/pandoc
16WORKDIR /usr/src/pandoc
18 git checkout -b work $TREE && \
20 --flag 'pandoc:static' \
21 --flag 'pandoc:embed_data_files' \
22 --flag 'pandoc-citeproc:static' \
23 --flag 'pandoc-citeproc:embed_data_files' \
24 --flag 'hslua:-export-dynamic' \
25 --ghc-options '-O2 -optc-Os -optl=-pthread -optl=-static -fPIC' \
26 --local-bin-path /artifacts \
27 pandoc pandoc-citeproc && \
28 bash linux/make_deb.sh && \
29 bash linux/make_tarball.sh
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list