I’m deploying some Kotlin code via a container and running it via AWS Lambda. However, I keep running into an issue where when I invoke the Lambda, it cannot find the main class or handler. This is what my Dockefile look like currently # This builder image will not be used at runtime # See ..
we want to build a backend, based on micronaut framework (java) with jenkins and docker. Locally all works fine. But not via jenkins/docker. ###Error message During the build of the image the follwing error occurs: Step 7/11 : COPY –from=build ./build/layers/libs /home/app/libs COPY failed: stat /var/lib/docker/overlay2/33b475c0bb868e9d61905995e0bd720a30cfde48e7e28acbb31a8a0d88474e24/merged/build/layers/libs: no such file or directory Dockerfile FROM gradle:7.2.0-jdk16 as ..
TLDR: How can one build docker images with Gradle inside a Openjdk container? The problem We are building a Micronaut based suite of microservices in a multi-module Gradle project using GitLab pipelines. Currently our pipeline builds docker images in a separate pipeline stage using docker command line, but it is starting to become unwieldy and ..
I’m attempting to build a Docker image using the Spring Boot Gradle Plugin and am having trouble figuring out how to specify my image configuration. I’m familiar with the Spotify (Maven) and Palantir (Gradle) Docker plugins for building Docker images from Dockerfiles. I understand that the Spring Boot Gradle Plugin intelligently selects and builds from ..
I have implemented a spring boot application, with gradle build with docker. I am using a Docker Desktop. I have written one docker file to build the jar and create a docker image. Everything is working file and images is created. One thing, when I run the docker build command, the gradle build process takes ..
I’m new to gradle, and I’m sure that this can be done somehow, but I can’t figure out how – project does use dockerCompose task. It’s spinning some docker dependencies up for tests. The problem is, it done in very dummy way: dockerCompose.isRequiredBy( test ) which means that every single time I run tests from ..
Developed Java+ sellinum +Cucumber automation code by using Intellij +Gradle. Sucussfuly ran the scripts in local machine. Created Yaml file for Gitlabs pipelines and pushed first copy into new devey branch on gitlab. Note: Not movied Build related unnessary file. Observations/Issue : Gitab pipelines job field at Buildstage only . Error looks like – Classpath ..
Jib handles all steps of packaging (handles compilation, verification and building the project) your application into a container. However I want to build the jar separately and and provide this jar as a input to JIB to create a docker image and publish to nexus repository. Is there any way to use JIB only for ..
Worcking for a client who has Mac enviroment. I have windows enviroment. I download the code from gitHub and this changes line-ends to windows ones. Then I create an image (with gradle) that I use in docker. I get this error in docker when I start the service: bash: /opt/app/entrypoint.sh: /bin/bash^M: bad interpreter: No such ..
I am trying to build an Ionic Cordova App through the a gitlab ci pipline. I’ve set up a gitlab runner, which is working for other builds fluently, but when building the ionic app with it fails. All aproaches like setting system ulimit were already tried out. But since they only affect the system wide ..