File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
- # Base ### ###############################################################
1
+ # Builder ###############################################################
2
2
ARG base_image_version=3.20
3
- FROM alpine:$base_image_version AS alpine-builder-base
4
- WORKDIR /app
3
+ FROM alpine:$base_image_version AS alpine-builder
5
4
6
5
ARG lua_version=5.4
7
6
RUN apk --no-cache add \
@@ -24,12 +23,10 @@ RUN apk --no-cache add \
24
23
ENV CABAL_CONFIG=/root/.config/cabal/config
25
24
COPY cabal.root.config $CABAL_CONFIG
26
25
27
- RUN cabal --version \
28
- && ghc --version \
29
- && cabal update
26
+ RUN cabal --version && \
27
+ ghc --version && \
28
+ cabal update
30
29
31
- # Builder ###############################################################
32
- FROM alpine-builder-base AS alpine-builder
33
30
ARG pandoc_commit=main
34
31
RUN git clone --branch=$pandoc_commit --depth=1 --quiet \
35
32
https://github.com/jgm/pandoc /usr/src/pandoc
You can’t perform that action at this time.
0 commit comments