Questions tagged [dockerfile-maven-plugin]
21 questions
4
votes
0 answers
spotify dockerfile-maven-plugin with podman
Is it possible to get this plugin working with podman instead of docker?
I want to be able to build, tag and push images from maven.
Jonatan
- 81
- 2
3
votes
1 answer
Docker container prints "no such file or directory"
I am fairly new to docker and I am completely stumped on how to fix my problem. I have searched and searched and nothing I've found has fixed my problem so far.
No matter what I do, I cant seem to get my bash script to be found and executed.
FYI -…
Jason Snouffer
- 35
- 4
2
votes
1 answer
Build Docker Image File of Spring Boot Application
I am trying to build a docker image for my spring boot maven project by using dockerfile-maven-plugin. I am using Docker Tool Box on windows 7 and it is running fine.
I am getting Below Error:
Failed to load Google application default credentials
…
Nishant Varshney
- 544
- 9
- 27
1
vote
1 answer
dockerfile-maven plugin and GCR
I followed the steps to push docker images to Google Cloud Registry here.
I could manually run docker push eu.gcr.io/[PROJECT_ID]/[IMAGE_TAG], and it would run successfully. However, the dockerfile maven plugin would fail due to missing…
Joaquim d'Souza
- 1,021
- 1
- 10
- 18
1
vote
0 answers
How do I exclude a file from copying in DockerImageStepTask?
Jenkins build is failing due to the failure of the step, "DockerImageStepTask".
The exact error is specified below :
Step 11/15 : COPY ${modulePath}/${artifactPath}/*${optionalJarSuffix}.jar /opt/test/test.jar
Could not build image: COPY failed: no…
Bengal Tiger
- 11
- 1
1
vote
0 answers
RUN yum install inside Dockerfile throwing error in Mac
Step 20/29 : RUN yum install -y docker-engine-18.09.8.ol-1.0.4.el7
---> Running in 9aa3b53a6171
Loaded plugins: ovl
https://artifactory.xxx.com/io-ol7-addons-yum-local/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate issuer is not…
Susmita Mandal
- 31
- 2
1
vote
1 answer
How's spotify dockerfile-maven-plugin uses "docker-compose build"?
From the docs https://github.com/spotify/dockerfile-maven, it says:
For example, a docker-compose.yml might look like:
service-a:
build: a/
ports:
- '80'
service-b:
build: b/
links:
- service-a
Now, docker-compose up and…
user3552178
- 1,693
- 3
- 20
- 39
1
vote
2 answers
spotify docker/dockerfile maven plugin [ERROR] Copy failed
I am trying to execute the mvn clean package docker:build on my project it fails with the following error
ERROR] Failed to execute goal
com.spotify:docker-maven-plugin:1.1.0:build (default-cli) on project
mma-access-management-auth-server:…
Chief Peter
- 153
- 10
1
vote
1 answer
spotify dockerfile-maven Dockerfile
I am a docker maven plugin newbie.
If I understand well, according to Spotify's Dockerfile Maven documentation, one should place the Dockerfile on the root directory of my project (I'm running a spring boot project).
In making a reference to…
Lucas T
- 2,211
- 2
- 24
- 30
0
votes
0 answers
Error building docker image using maven plugin
I'm trying to build a docker image using maven plugin.I'm using Spotify docker plugin in my spring boot application.
Here is the plugin section of my pom.xml
org.springframework.boot
…
LimitlessGilles
- 13
- 4
0
votes
0 answers
How can I configure different cloud providers on dockerfile-maven plugin
How can I configure different cloud providers (for GCP, AWS, Azure) on https://github.com/spotify/dockerfile-maven maven plugin, so that it seamlessly enables deployment on all cloud providers. We want maven deploy command to deploy to all cloud…
Rpj
- 3,526
- 12
- 36
- 80
0
votes
0 answers
build dockerfile with maven - download resources
I build a docker image with maven plugin com.spotify.dockerfile-maven-plugin
Dockerfile just copies an installfile XXXXXX.zip, unpacks it and installs application in the image.
I do not want to store in my git repo XXXXX.zip as it is huge. How can I…
Mario
- 45
- 5
0
votes
0 answers
Issue with maven release plugin and dockerfile-maven-plugin: NO such file or directory
I am trying to build dockerfile through dockerfile-maven-plugin (com.spotify)
Following is my directory structure
project/
src/main/
Dockerfile
pom.xml
Same is structure in my git repo. I am downloading some artifacts and putting it parallel…
Neeraj
- 11
- 1
- 1
0
votes
1 answer
How can i run a .jar on Tomcat contanar
Im new with docker, what i'm trying to do run maven-wrapper.jar file in tomcat:8.0-alpine container.
i follow some steps in the following website https://medium.com/@pra4mesh/deploy-war-in-docker-tomcat-container-b52a3baea448
the different that he…
Abrahem Gh
- 37
- 1
- 9
0
votes
1 answer
pull access denied for 8u162-jdk in maven project
I have a dockerfile in a maven project, and I have this error in the Build when I use the docker base image 8u162-jdk.
The build works fine when I use openjdk:8u131-jdk-alpine, but I need to change JDK version to 8u162.
Step 1/15 : FROM…
Souad
- 3,981
- 10
- 58
- 118