3RUN echo "https://s3-us-west-2.amazonaws.com/alpine-ghc/8.0" >> /etc/apk/repositories
4ADD https://raw.githubusercontent.com/mitchty/alpine-ghc/master/mitch.tishmack%40gmail.com-55881c97.rsa.pub \
5 /etc/apk/keys/mitch.tishmack@gmail.com-55881c97.rsa.pub
7RUN apk add alpine-sdk git ca-certificates ghc cabal stack zlib-dev \
8 dpkg fakeroot sed gawk grep bash linux-headers
10RUN stack config set system-ghc --global true
11#RUN mkdir -p /etc/stack
12#RUN echo "build: { split-objs: true }" > /etc/stack/config.yaml
15RUN git clone https://github.com/jgm/pandoc
16WORKDIR /usr/src/pandoc
17RUN stack install --stack-yaml stack.pkg.yaml --only-dependencies \
18 --flag 'pandoc:static' \
19 --flag 'pandoc:embed_data_files' \
20 --flag 'pandoc-citeproc:static' \
21 --flag 'pandoc-citeproc:embed_data_files' \
22 --flag 'hslua:-export-dynamic' \
23 --ghc-options '-O2 -optc-Os -optl=-pthread -optl=-static -fPIC' \
24 pandoc pandoc-citeproc
26 git checkout -b work $TREE && \
27 stack install --stack-yaml stack.pkg.yaml \
28 --flag 'pandoc:static' \
29 --flag 'pandoc:embed_data_files' \
30 --flag 'pandoc-citeproc:static' \
31 --flag 'pandoc-citeproc:embed_data_files' \
32 --flag 'hslua:-export-dynamic' \
33 --ghc-options '-O2 -optc-Os -optl=-pthread -optl=-static -fPIC' \
34 --local-bin-path /artifacts \
35 pandoc pandoc-citeproc && \
36 bash linux/make_deb.sh && \
37 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