File: Dockerfile

package info (click to toggle)
jpylyzer 2.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,844 kB
  • sloc: xml: 161,036; python: 2,695; sh: 127; java: 56; makefile: 21
file content (20 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.6-alpine as builder

LABEL maintainer="carl.wilson@openpreservation.org" \
      org.openpreservation.vendor="Open Preservation Foundation" \
      version="0.1"

RUN  apk update && apk --no-cache --update-cache add gcc build-base git libxml2-dev libxslt-dev

WORKDIR /src
RUN git clone https://github.com/openpreserve/jpylyzer.git
RUN mkdir /install && cd /src/jpylyzer && pip install -U pip && pip install --install-option="--prefix=/install" .

FROM python:3.6-alpine

RUN apk update && apk add --no-cache --update-cache libc6-compat libstdc++ bash

COPY --from=builder /install /usr/local

ENTRYPOINT ["jpylyzer"]
CMD ["-h"]