slimtoolkit / slimtoolkit/slim
Minified image curl error
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.4k
- Forks
- 840
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
As I run my image, it uses curl to fetch env file from git.
After download is complete, it runs java/jboss and serves 8080.
Actual Behavior
When it tries to use curl I get:
curl: (77) error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
After download fails, JBoss fails to start because it can't find the env file, specified on the command.
(FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with exit code 1)
Steps to Reproduce the Problem
-
docker run -it -p 8080:8080 -e ENV=prod image
OK -
docker-slim build --target image--http-probe=false
-
docker run -it -p 8080:8080 -e ENV=prod image.slim
ERROR
Specifications
- Version: Docker 20.10.10, Docker-slim 1.37.0
- Platform: Debian 11
Contributor 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.
Research direction
No source file or test is named. Start by reproducing the docker-slim build and slim-image run on Debian 11, then trace why curl cannot find /etc/pki/tls/certs/ca-bundle.crt; done when the env file downloads successfully and JBoss starts on port 8080.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, docker, java
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100