Skip to content

Tag: docker

Gitlab-ci docker inside java image

To use a integration test library https://www.testcontainers.org/” I need a image with java a docker installed at same time. I’m trying o use this stage: But It does not work: Any help? Answer The image gradle:jdk16 does not include the docker client. You’ll have to install it in your job. A…

Converting Shell Script to Dockerfile

I have Java app and want to generate docker image, I have shell script like this: And I try to convert it into Dockerfile like this It can be generated, but there’s an error when I try to run it like this: I’ve also changed this script RUN for rJarFile in `ls ${APPLICATION_DIR}/lib/*.jar`; do expo…