Open dmestudent opened 1 month ago
It's been a while, so I need time to recollect.
Meanwhile, Can you post the full docker command line that you tried?
And can you try with docker-compose? (Note you need to uncomment build
as per the comments in the docker compose file)
Hello,
the command line I am trying is the following. Be aware that I had to remove some information for privacy purposes.
docker build --build-arg HTTP_PROXY=<redacted> --build-arg HTTPS_PROXY=<redacted> -f Dockerfile -t <redacted>/libre-captcha:dev .
Trying with docker compose is not possible since I am building on a dedicated jenkins server in my CI/CD pipeline.
Best regards and thank you for your time
I currently don't have a docker setup where I can test this out, but can you try changing the first line of the Dockerfile from eclipse-temurin:17-jre-jammy
to eclipse-temurin:17-jdk-jammy
. I suspect that the JRE version has dropped javac
from the image, and hence the javac
error.
Or, as you suggested, the problem could be that the /build
directory doesn't exist. The directory either needs to be mounted as a volume or created inside the docker image. Hence, either,
-v /myBuildDirectory:/build
on the command line where /myBuildDirectory
is the path of an actual directory on the hostRUN mkdir /build
inside the Dockerfile
Hello,
I am trying to build the dockerfile you provide in this repository but I receive the following error in the "builder" step.
I added the ls -la Step for debugging purposes
Any tips are highly appreciated.
Thanks in advance