Questions tagged [fabric8-maven-plugin]
35 questions
1
vote
1 answer
How to push docker images to AWS ECR using fabric8 maven plugin while pulling base images from default registry?
When configurating the fabric8 maven plugin to push docker images to AWS ECR, we get an error that the "alpine:latest" image cannot be pulled.
Here the relevant part from the maven pom:
io.fabric8
…

AntiTiming
- 2,094
- 3
- 22
- 33
1
vote
1 answer
Fabric8 Maven Plugin - How to pass --rm into build options?
We are using io.fabric8:docker-maven-plugin:0.27.2 to build our docker images.
Just wondering how to pass rm into buildoptions? I want to clear all the intermediate () images after successfully building them - using the mvn docker:build…

Dinesh
- 1,711
- 2
- 20
- 41
1
vote
1 answer
Fabric8io plugin with Gitlab CI
I'm just learning and new to Gitlab, but already have some tasks important for my work. One of them is building java project (maven build stage) and copying artifacts to the docker image with Fabric8io plugin. I'm using Gitlb CI for my task, and…

Denis Kvashnin
- 11
- 3
1
vote
2 answers
Run docker image with external configuration file with fabric8 maven plugin
I am trying to run elasticmq over docker with maven. You can find my configuration for docker below. And also under the /src/main/resources/container/sqs/config folder I have custom queue configuration name as elasticmq.conf
…

vtokmak
- 1,496
- 6
- 35
- 66
0
votes
2 answers
How to add a custom serializer/format for Java zoneddatetime with fabric8 maven plugin?
I am using fabric8 maven plugin to autogenerate Java classes for a CRD from it's yaml file. One of the fields is:
updated_time:
format: date-time
type: string
It's getting converted to a java.time.zoneddatetime…

xerocool
- 113
- 2
- 10
0
votes
0 answers
Read persistentVolumeClaims "Used" section from OCP with OpenShiftClient
I am using OpenShiftClient to read values from OCP.
So far I was able to read the Name, Status and Capacity values from persistentVolumeClaims Page without any issues.
But, when im reading all the values, im unable to find the values which appear in…

alm
- 1
- 1
0
votes
0 answers
How to specify the target for multi-stage docker build through io.fabric8 docker-maven-plugin?
I can pass target in docker-compose.yml to make sure to execute only the stage that I want to in multi-stage docker build.
How can I achieve the same with io.fabric8 docker-maven-plugin?

genonymous
- 1,598
- 3
- 18
- 27
0
votes
1 answer
Docker healthcheck command always returns healthy
I am using the docker-maven-plugin. I am building a Docker container containing a Java command line application.
In my healthcheck I am checking that a Java process matching a name exists:
pgrep -f "java.*my-app-name.*jar" >…

rmf
- 625
- 2
- 9
- 39
0
votes
1 answer
How to network to my fabric8 docker compose service from cloud build?
My maven build file runs an Integration Test and I use the io.fabric8:docker-maven-plugin to spin up an environment for the test to run against. There are several things running in the resulting environment but to keep this short there is mainly one…

RogerParkinson
- 499
- 6
- 18
0
votes
0 answers
Fabric8 Docker Maven Plugin: docker:tag fails with Cannot invoke "BuildImageConfiguration.cleanupMode()" because "buildConfig" is null
I use FabricIO's Docker Maven Plugin.
I'm trying to create a docker tagged image with Docker Maven Pugin.
The build goal works, but when trying to tag the image, DMP fails:
Execution start of goal io.fabric8:docker-maven-plugin:0.40.2:tag failed:…

Ondra Žižka
- 43,948
- 41
- 217
- 277
0
votes
0 answers
Cannot set name of fabric8 image using maven plugin
We've been trying very hard for a while to build and push an image using fabric8, however no matter what we do to name the image, it is always named the same thing.
Building and deploying the image works fine, and we have it running on an OKD…

Leonhard Printz
- 355
- 2
- 16
0
votes
1 answer
Fabric8 maven plugin fails on run build
I'm running mvn build and using fabric8 maven plugin for dockerizing the application. Every time I run the build it fails as it uses a docker command that fails docker-credential-secretservice version. [ERROR] Failed to execute goal…

m.y.m
- 347
- 4
- 27
0
votes
1 answer
What does the Action ADD in kubernetes-fabric8 watch API mean?
What does the Action ADD in fabric8 watch API mean? My initial understanding of it is to add a resource, but I tested it and a bunch of ADD Actions were triggered.
0
votes
0 answers
Fail to replace kubernetes statefulsets using fabric8 maven plugin
We use fabric8-maven-plugin to manage the full lifecycle of all of our kubernetes services. We are having a problem upgrading statefulsets (similar to this post but we dont use the kubernetes-client). The version of the maven plugin is 4.3.1. We…

Paul B
- 51
- 4
0
votes
1 answer
io.fabric8 plugin generates kubernetes and openshift yaml
io.fabric8 generates kubernetes and openshift yaml when i include targetDir configuration
io.fabric8
fabric8-maven-plugin
4.3.1
…

Muzi Jack
- 788
- 1
- 7
- 20