Use ARG instead of ENV for variables only used for labels
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker
- Domain
- build-system, devops
Research direction
Start with 1.22/Dockerfile.fedora lines 11-15 and inspect the corresponding Dockerfiles in this repository. Replace ENV declarations used only for LABEL values with ARG, then verify the variables no longer appear in the image’s default environment; no test is mentioned.
Written by the indexing model from the issue text.
Description
The variables in https://github.com/sclorg/nginx-container/blob/master/1.22/Dockerfile.fedora#L11..L15 are only used to set LABELS a fe lines below and should not "leak" inside the container images.
Using ARG instead of ENV will make those variables only available during the build and not built into the image default environment.
Note: This also applies to all other container images in this org. I'm only reporting this once.
- Dominant language
- Shell
- Stars
- 102
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sclorg/nginx-container
-
Cleanup /tmp/srcOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
sclorg/nginx-container#329 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
sclorg/nginx-container#254 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/nginx-container#151 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
sclorg/nginx-container#105 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sclorg/nginx-container#77 ·
All issues in sclorg/nginx-container
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
conda-forge/poppler-feedstock#198 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Isha NarulaOpen
Difficulty 1/5 Under an hour Newbie friendliness 72/100
dataplat/DataSpeakers#178 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
btclib-org/claude-process#341 ·