common-workflow-language / common-workflow-language/cwltool

Docker container is not updated/rebuild on definition change

Open
#563 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

When a container is created by cwltool using a definition like this it works:
```
hints:
DockerRequirement:
dockerImageId: kernsuite/prefactor
dockerFile: |
FROM kernsuite/base:3
RUN docker-apt-install prefactor
```

But when I change/update the dockerFile statement the old docker container is used, the content is not updated or rebuild.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the supplied CWL DockerRequirement, then change the dockerFile and observe whether cwltool reuses the old container. Done means a changed dockerFile causes the container image to be updated or rebuilt rather than using the previous content.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.