Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf2svg docker build fails with 'aclocal-1.15' is not found error #5

Open
fayas-akram opened this issue May 16, 2023 · 0 comments
Open

Comments

@fayas-akram
Copy link

fixed dockerfile

FROM alpine:3.6 as builder
LABEL version="0.2.3-alpine3.6"

RUN apk add --update-cache make gcc libc-dev cairo-dev poppler-dev git autoconf automake libtool

ENV PDF2SVG_VERSION v0.2.3

RUN git clone https://github.com/dawbarton/pdf2svg pdf2svg

WORKDIR /pdf2svg

RUN git checkout $PDF2SVG_VERSION && autoreconf -f -i && ./configure && make

# final image
FROM alpine:3.6

RUN apk add --update-cache --virtual .fetch-deps ca-certificates openssl \
    && update-ca-certificates \
    && apk add --no-cache poppler-glib poppler-utils msttcorefonts-installer \
    && update-ms-fonts \
    && fc-cache -f

RUN apk del .fetch-deps

COPY --from=builder /pdf2svg/pdf2svg /usr/local/bin/pdf2svg
CMD ["pdf2svg"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant