Questions tagged [dockerfile-maven-plugin]
22 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
- 201
- 1
- 4
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
- 1
- 4
3
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
- 685
- 2
- 14
- 34
2
votes
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
- 41
- 4
2
votes
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
- 3,011
- 6
- 29
- 36
1
vote
0 answers
Install a Maven library in a Dockerfile
I'm trying to build a docker image that installs this two maven libraries:
mysql:mysql-connector-java:8.0.29
com.crealytics:spark-excel_2.12:0.14.0
It has no problem with the build but this is what happen when I run it:
[ERROR] No goals have been…

lourdes
- 21
- 3
1
vote
0 answers
spotify maven docker plugin fails when executing 'mvn clean install'
My goal is to build a dockerized java application using Spotify's dockerfile-maven-plugin but I cannot get it to succeed.
When building the same application via docker cli (docker build . --build-arg APP_NAME= --build-arg…

PandaCheLion
- 446
- 5
- 15
1
vote
1 answer
How to install Jar (java) to NVIDIA-Docker image or NVIDIA-Docker dependencies to Java image?
I have to bundle up my system using Docker. But my system uses Java (JAR file to run) and python with PyTorch. I initially tried to use openjdk:buster base Docker image and then installed python3 on top of it. So both JAR and PyTorch worked, but…

Ramraj Chandradevan
- 141
- 2
- 10
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,416
- 2
- 14
- 25
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
- 2,719
- 8
- 40
- 67
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
- 343
- 5
- 11
0
votes
0 answers
Spotify maven deploy on gitlab
I've implemented in my pom.xml dockerfile-maven-plugin as follows:

lrkwz
- 6,105
- 3
- 36
- 59
0
votes
1 answer
How to slove the error: org.apache.maven.plugin.MojoExecutionException: Could not build image
local env:
JDK:azul-17 17.0.4
CPU:M1
system:12.6 (21G115)
When I use the dockerfile-maven-plugin plugin for dockerfile:deploy to build the image, it prompts an error:java.lang.UnsatisfiedLinkError: Can't load library:…

jiaqi
- 1
- 2
0
votes
1 answer
Problem with deploying vertx app through dockers
I'm following this github project and for some reason when I run the application I get the error below:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See…

6lackSheep
- 1
- 1
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
- 5,348
- 16
- 62
- 122