[Local] Using multi stage build to build docker image
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Description
After https://github.com/DeKal/illuminati/issues/241, we need to upgrade docker into multi stage build. Basically the idea is that we'll build the executive jar in docker container instead of build on local. https://docs.docker.com/develop/develop-images/multistage-build/
We will have 2 stages:
1) Stage build: copy source code to a gradle container -> build for the executive jar
2) Copy the jar into a jdk container to run
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no Dockerfile or test path. Start by locating the Docker build entry point and the Gradle project configuration, then verify that the image builds the executable jar in a build stage and runs the copied jar in a JDK stage. Done means the multi-stage image builds successfully without a local jar build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java, spring-boot
- Domain
- build-system, devops
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100