Debian Codegraph @

Dockerfile

raw
1 FROM python:3.6-alpine as builder
2
3 LABEL maintainer="[email protected]" \
4 org.openpreservation.vendor="Open Preservation Foundation" \
5 version="0.1"
6
7 RUN apk update && apk --no-cache --update-cache add gcc build-base git libxml2-dev libxslt-dev
8
9 WORKDIR /src
10 RUN git clone https://github.com/openpreserve/jpylyzer.git
11 RUN mkdir /install && cd /src/jpylyzer && pip install -U pip && pip install --install-option="--prefix=/install" .
12
13 FROM python:3.6-alpine
14
15 RUN apk update && apk add --no-cache --update-cache libc6-compat libstdc++ bash
16
17 COPY --from=builder /install /usr/local
18
19 ENTRYPOINT ["jpylyzer"]
20 CMD ["-h"]