Skip to content

Commit 57cf791

Browse files
mr-ckinow
andcommitted
Dockerfile: modern cwltool installation
Co-authored-by: Bruno P. Kinoshita <[email protected]>
1 parent 552df78 commit 57cf791

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM maven:3-eclipse-temurin-17-alpine AS build-licensee
1+
FROM docker.io/library/maven:3-eclipse-temurin-17-alpine AS build-licensee
22

33
RUN apk add --update \
44
alpine-sdk \
@@ -10,7 +10,7 @@ RUN apk add --update \
1010
RUN gem install licensee
1111

1212

13-
FROM maven:3-eclipse-temurin-17-alpine
13+
FROM docker.io/library/maven:3-eclipse-temurin-17-alpine
1414
MAINTAINER Stian Soiland-Reyes <[email protected]>
1515

1616
# Build-time metadata as defined at https://github.com/opencontainers/image-spec/blob/main/annotations.md
@@ -29,8 +29,8 @@ LABEL org.opencontainers.image.created=$BUILD_DATE \
2929
RUN apk add --update \
3030
graphviz \
3131
ttf-freefont \
32-
py3-pip \
3332
gcc \
33+
pipx \
3434
python3-dev \
3535
libc-dev \
3636
nodejs \
@@ -43,9 +43,9 @@ RUN apk add --update \
4343
heimdal \
4444
&& rm -rf /var/cache/apk/*
4545

46-
#wheel needed by ruamel.yaml for some reason
47-
RUN pip3 install -U wheel setuptools pip
48-
RUN pip3 install cwltool
46+
ENV PATH="/root/.local/bin:${PATH}"
47+
48+
RUN pipx install cwltool
4949

5050
RUN cwltool --version
5151

0 commit comments

Comments
 (0)