I am not very experienced using Docker , but I want to build an image that runs java and springboot as I want to run some tests on the running application (not just junit tests)
I have to dockerfile for dockerfile build
FROM maven:3.9.16-eclipse-temurin-17 AS build
# Build the application using Maven
RUN mvn clean package -DskipTests
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]
But this is the log error from pipeline build:
The goal you specified requires a project to execute but there is no POM in this directory .
I need to run maven package to create the application jar file in order to be able to set the entrypoint
For me it seems that docker doesnt find the files from cirlcleci checkout
My job (what happens after build might not work either, but for now I focus to get docker build to work and now its the Dockerfile that is the problem
jobincmaven:
docker:
- image: cimg/base:2026.07
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Build an image
command: |
docker build --tag $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME$CIRCLE_SHA1 .
- run:
name: Run application in background
command: |
docker run -t $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME$CIRCLE_SHA1
background: true
1 post - 1 participant
Read full topic
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Security notice and deprecation: standalone circleci-mcp-server | 0 | 8.32 | 20-07-2026 |
| 2 | Post Incident Report: June 23, 2026 - Delays starting Docker jobs | 0 | 10.34 | 27-06-2026 |
| 3 | Could not find a usable config.yml, you may have revoked the CircleCI OAuth app. Github | 0 | 5.04 | 15-07-2026 |
| 4 | 403 CloudFront Error While Accessing CircleCI Web UI | 0 | 8 | 27-07-2026 |
| 5 | CircleCI Response to CVE-2026-43499 ("GhostLock" Linux kernel vulnerability) | 0 | 8.06 | 09-07-2026 |
| 6 | Sbt launcher fails with HTTP 429 from Maven Central | 0 | 10.66 | 22-07-2026 |
| 7 | CircleCI docs site: menus & search non-functional in google chrome v150.x | 0 | 4.15 | 19-07-2026 |
| 8 | Multi-Service Docker Compose Build in Travis CI with Cross-Container Caching and Service Health Checks | 0 | 7 | 03-06-2025 |
| 9 | Help debugging cancelled runners on main branch | 0 | 7.17 | 20-07-2026 |
| 10 | Starting Android emulator with API 36 hangs while waiting for boot animation [with workaround] | 0 | 8.06 | 27-07-2026 |