Skip to content

Commit

Permalink
See if we can just bring the pandoc binary over
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Apr 26, 2024
1 parent a0e1939 commit 3c1f9ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.21-alpine
WORKDIR /app

RUN apk update && \
apk add bash ca-certificates && \
apk add curl bash ca-certificates && \
update-ca-certificates

COPY . ./
Expand Down
10 changes: 3 additions & 7 deletions docker-images/pandoc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
ARG TAG=main
ARG DOCKER_REPOSITORY=local
FROM ${DOCKER_REPOSITORY}/scyllaridae:${TAG} AS scyllaridae
FROM pandoc/minimal:3.1.1 AS pandoc
FROM ${DOCKER_REPOSITORY}/scyllaridae:${TAG}

FROM pandoc/minimal:3.1.1
WORKDIR /app
RUN apk update && \
apk add curl bash ca-certificates && \
update-ca-certificates
COPY --from=scyllaridae /app/scyllaridae .
COPY --from=pandoc /usr/local/bin/pandoc /usr/local/bin/pandoc
COPY scyllaridae.yml .
ENTRYPOINT ["/app/scyllaridae"]

0 comments on commit 3c1f9ba

Please sign in to comment.