Skip to content

Conversation

@DAKSH-coder26
Copy link
Contributor

This PR fixes two lint warnings in tests/dockerfile/simple/Dockerfile:

  • JSONArgsRecommended: The Dockerfile used shell form
    CMD "/bin/sh"
    which triggers a warning.
    Updated to JSON exec form:
    CMD ["/bin/sh"]

  • LegacyKeyValueFormat: The Dockerfile used ENV HOME /tmp
    which triggers a lint warning.
    Updated to recommended format:
    ENV HOME=/tmp

These are small cleanups in the test Dockerfile and do not change runtime
behavior of repo2docker. They simply align with Docker best practices and
resolve the linter warnings.

Fixes #1477
Fixes #1478

@minrk minrk added the bug label Dec 9, 2025
@minrk minrk merged commit 2844080 into jupyterhub:main Dec 9, 2025
21 checks passed
@minrk
Copy link
Member

minrk commented Dec 9, 2025

Thanks!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LegacyKeyValueFormat warning Fix JSONArgsRecommended warning

2 participants