Skip to content

Commit 19f2cb6

Browse files
authored
add Graphviz to cwltool* Docker containers (#849)
& fix wheel building
1 parent 8d19cdb commit 19f2cb6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build-cwl-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
set -e
33
docker build --file=cwltool.Dockerfile --tag=commonworkflowlanguage/cwltool-module --target module .
44
docker build --file=cwltool.Dockerfile --tag=commonworkflowlanguage/cwltool .

cwltool.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.6-alpine as builder
22

3-
RUN apk add --no-cache git
3+
RUN apk add --no-cache git gcc python3-dev libxml2-dev libxslt-dev libc-dev linux-headers
44

55
WORKDIR /cwltool
66
COPY . .
@@ -12,13 +12,13 @@ RUN pip install --no-index --no-warn-script-location --root=/pythonroot/ /wheels
1212
FROM python:3.6-alpine as module
1313
LABEL maintainer [email protected]
1414

15-
RUN apk add --no-cache docker nodejs
15+
RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt
1616
COPY --from=builder /pythonroot/ /
1717

1818
FROM python:3.6-alpine
1919
LABEL maintainer [email protected]
2020

21-
RUN apk add --no-cache docker nodejs
21+
RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt
2222
COPY --from=builder /pythonroot/ /
2323
COPY cwltool-in-docker.sh /cwltool-in-docker.sh
2424

0 commit comments

Comments
 (0)