Comments (8)
@mwinzie : Could you please try this https://github.com/fabric8io/docker-maven-plugin/tree/master/samples/multi-architecture
from fabric8-maven-plugin.
@mwinzie : Fabric8 Maven Plugin is no longer maintained. It's been refactored into Eclipse JKube. It's the same project but with different maven coordinates.
If you're coming to Kubernetes background, I suggest creating same issue on Eclipse JKube. I do see createImageOptions
in Kubernetes Maven Plugin documentation which might be helpful for your use case.
from fabric8-maven-plugin.
I will go through it, thanks.
In the meantime from the pom file using fabric8 maven plugin is there a way you can specify the platform to some architecture and while executing the build goal the image to pick the architecture?
This is my profile from the pom
<profile>
<id>openshift-deployment</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>4.3.1</version>
<executions>
<execution>
<goals>
<goal>resource</goal>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
from fabric8-maven-plugin.
I am using fabric8 maven plugin not docker maven plugin
from fabric8-maven-plugin.
I don't think this feature is present in Fabric8 Maven Plugin. I think you'd need to migrate to Kubernetes Maven Plugin (mvn org.eclipse.jkube:kubernetes-maven-plugin:migrate
) and provide <platform>
argument in <image>
> <build>
> <createImageOptions>
from fabric8-maven-plugin.
Thanks, it worked. It was able to pick the platform.
But would like for it to pick a specific base image and platform like openjdk/openjdk-11-rhel7 with linuxs390x platform
from fabric8-maven-plugin.
@mwinzie : Sorry, I'm not sure I understand correctly. Could you please create an equivalent issue on https://github.com/eclipse/jkube repository?
from fabric8-maven-plugin.
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
from fabric8-maven-plugin.
Related Issues (20)
- Update samples/quarkus HOT 2
- Warning messages in Jenkins logs from java.util.concurrent.RejectedExecutionException HOT 5
- Missing documentation for Ingress Enricher HOT 1
- Simple Dockerfile mode: provided Dockerfile is always skipped HOT 1
- Execution default of goal io.fabric8:fabric8-maven-plugin:3.5.42:resource failed: Container null has no Docker image configured. HOT 4
- FMP OpenShift mode S2I Failed running assemble script - /bin/sh: 1: /usr/libexec/s2i/assemble: not found HOT 9
- Add generator and enricher for WildFly bootable JAR HOT 3
- ISTIO artifact Enrichment HOT 4
- Deployment to OpenShift 4.6 not working using login parameters instead of oc login HOT 7
- config annotations for configmap
- -D options don't work in IntelliJ Ultimate 2021.2.2 anymore HOT 5
- How to solve this problem:push failed: Service hub created without a docker access to a docker daemon HOT 1
- Liveness and readiness TCP ports are not serialized as numbers when defined as numbers HOT 3
- Multiple assemblies use the name "maven". Please assign each assembly a unique name. - using only single assembly HOT 2
- mac m1 install fabric8-maven-plugin error HOT 7
- Fallback to default docker driver to speed-up build time in buildx mode HOT 1
- build error [125] on mac M2 HOT 5
- multi-arch image with different native architecture giving issues HOT 1
- podPodResource.watchLog().getOutput(); error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric8-maven-plugin.