Skip to content

Commit

Permalink
Add pld linux build target
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Apr 7, 2020
1 parent 798688e commit 29b531a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packaging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#
# To build for arm, see https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/
#
# Build targets supported:
# docker build --build-arg=TARGET=pld packaging
# docker build --build-arg=TARGET=debian packaging

ARG VERSION=v1.0pre7
ARG TARGET=debian
Expand All @@ -12,6 +16,9 @@ RUN git clone --depth=1 -b $VERSION https://github.com/ruediger/VobSub2SRT /sour
FROM debian:buster AS build-debian
RUN apt update && apt install -y libtiff5-dev libtesseract-dev tesseract-ocr-eng build-essential cmake pkg-config

FROM registry.gitlab.com/pld-linux/pld AS build-pld
RUN poldek -u cmake gzip libtiff-devel make tesseract-devel

FROM build-$TARGET AS build
WORKDIR /build
COPY --from=source /source .
Expand Down

0 comments on commit 29b531a

Please sign in to comment.