Skip to content

Conversation

@tcpan
Copy link
Contributor

@tcpan tcpan commented Sep 13, 2022

Dockerfile WORKDIR creates a directory if it does not exist. spython recipe conversion previously only generates "cd {dir}"

This adds "mkdir -p {dir}" before the "cd" to match the WORKDIR semantics in Dockerfiles.

…et singularity parser to generate 'makedir -p' to match.
@vsoch
Copy link
Member

vsoch commented Sep 13, 2022

This works for me! Could you please bump the version and update the CHANGELOG to indicate the change?

@vsoch
Copy link
Member

vsoch commented Sep 13, 2022

You’ll also need to update the tests that are failing (they check content of files that is now changed).

@vsoch vsoch mentioned this pull request Sep 14, 2022
@vsoch vsoch merged commit fa1c7a1 into singularityhub:master Sep 14, 2022
@vsoch
Copy link
Member

vsoch commented Sep 14, 2022

Thanks @tcpan ! The commit was added in #198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants