Dockerfile: use a JRE base image for the runtime stage
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 76/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, java
- Domain
- build-system
Research direction
Start with the repository’s Dockerfile and locate the runtime stage using eclipse-temurin:17-jdk-noble. Switch that stage to the JRE base image, then compare image sizes and run the validator on a sample feed as the issue proposes; done when the validator works and the runtime image is smaller.
Written by the indexing model from the issue text.
Description
The runtime stage of the Dockerfile uses eclipse-temurin:17-jdk-noble, but the image only runs the CLI jar, so a JRE is sufficient. Switching to eclipse-temurin:17-jre-noble should significantly reduce the image size and attack surface without changing behavior.
I would d like to open a PR for this. I'll compare image sizes before and after and run the validator on a sample feed to confirm it works.
- Dominant language
- Java
- Stars
- 426
- Forks
- 127
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 27
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 MobilityData/gtfs-validator
-
Update csvRowNumber consistently across noticesPossibly taken @JooaoGui claimed this 5 days ago. Openstatus: Ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MobilityData/gtfs-validator#2254 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
new rule
Difficulty 3/5 1-2 days Newbie friendliness 58/100
MobilityData/gtfs-validator#2268 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
MobilityData/gtfs-validator#2262 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MobilityData/gtfs-validator#2258 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement new rule status: Blocked
Difficulty 5/5 Over a week Newbie friendliness 42/100
MobilityData/gtfs-validator#2239 ·
Maintainers usually reply within 1 day
All issues in MobilityData/gtfs-validator
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nextcloud/notes-android#3469 ·
Maintainers usually reply within 1 day
-
installation sdk usability
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
beehive-lab/TornadoVM#1356 ·
Maintainers usually reply within 1 day
-
0. Needs triage enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
davidfercas/opendcanard#34 ·