I’m using "generator-jhipster": "7.0.1", I’ve achieved debug my current monolithic app generated by Jhipster with docker. I added this line on appp.yml and run the docker-compose (of course I’d created the docker image following the documentation https://www.jhipster.tech/docker-compose/) environment: JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 After that, I created a Remote JVM Debug on IntelliJ (https://medium.com/@maheshmnair/java-remote-debugging-f1730664ab89) So far, all works well, ..
I have a spring boot app from which I am making an https call to another application whose certificate I need to add to my cacerts in order for the connection to succeed. Otherwise, it throws the following Exception Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested ..
I have made the docker image for my java application without using docker i.e with the help of jib plugin in maven and , currently looking for this kind of alternative for the angular app also. please suggest any alternatives.. Source: Docker..
Ok, I am building a jib based docker image which contains a java CLI app. The application is run like this : java -jar app.jar –opt1=<opt1-value> what i want to do is run a docker container which does nothing when the container is started but can accept arguments anytime and pass that arguments to the ..
I am in the process of creating a project and use Jib to create containers and push them to ECR. It is a multi-module maven project which has 3 sub-modules, 2 of them are standard java spring-boot project which is woking fine with Jib and the other one is an npm project which build using ..
I’m trying to generate an image with the JIB and push this image with Docker on Gitlab CI, but I’m having trouble with it. I know that JIB can push for the registry itself, but my company registry url is not following the right pattern for JIB. This is my .gitlab-ci.yml image: docker:latest services: – ..
I’m asking some help to create local Docker images using jib-core. I know how to push the image to a DockerHub Repo but now I want to get all the images into a local single repository. What I’ve done so far: By reading the jib-core doc, succesfully create a image.tar but can’t build it (missing ..
I am using jib to build my spring boot war file for tomcat. I am using a local tomcat docker image. I use gradle jibDockerBuild –stacktrace and i get the following error: caused by: com.google.cloud.tools.jib.image.json.BadContainerConfigurationFormatException: Invalid volume path: [ at com.google.cloud.tools.jib.image.json.JsonToImageTranslator.volumeMapToSet(JsonToImageTranslator.java:268) at com.google.cloud.tools.jib.image.json.JsonToImageTranslator.configureBuilderWithContainerConfiguration(JsonToImageTranslator.java:201) at com.google.cloud.tools.jib.image.json.JsonToImageTranslator.toImage(JsonToImageTranslator.java:137) at com.google.cloud.tools.jib.builder.steps.LocalBaseImageSteps.lambda$returnImageAndRegistryClientStep$2(LocalBaseImageSteps.java:171) at com.google.cloud.tools.jib.builder.steps.StepsRunner.lambda$assignLocalImageResult$4(StepsRunner.java:289) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) ..
I have a university project which consist of building a Java Spring Boot application that can handle multiple APIs that can start new docker containers running jar applications. For the moment, I was able to experiment how Spring Boot works, so I built a simple jar to deploy a simple greeting API that returns "Hello ..
I am creating docker image using google’s Jib maven plugin, image gets created successfully and backend services are working fine but my webapp folder is not part of that image. Before jib i was creating a zip containing everything (including webapp folder in the root of that zip along with executable jar) which was working ..