Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Simple Dockerfile mode: provided Dockerfile is always skipped #1814

Closed
devang-gaur opened this issue May 8, 2020 · 1 comment
Closed

Simple Dockerfile mode: provided Dockerfile is always skipped #1814

devang-gaur opened this issue May 8, 2020 · 1 comment
Assignees
Labels
target/JKube Implementation to be performed in JKube

Comments

@devang-gaur
Copy link
Contributor

FROM fakebaseimage
ENV JAVA_APP_DIR /deployment123
COPY maven /deployment123/
EXPOSE 8080 8778 9779
CMD echo "Hello World"

I provided this Dockerfile on the project root directory.. It is always skipped be it Zero Config mode.
or XML config mode.

This is where the SImpleDockerFIle mode is checked for. https://github.com/fabric8io/docker-maven-plugin/blob/master/src/main/java/io/fabric8/maven/docker/AbstractDockerMojo.java#L346 .

FYI, it works fine in DMP, so the issue is on the FMP side.

Documentation : https://maven.fabric8.io/#simple-dockerfile-build

@manusa
Copy link
Member

manusa commented May 12, 2020

Will be fixed in eclipse-jkube/jkube#197

@manusa manusa closed this as completed May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target/JKube Implementation to be performed in JKube
Projects
None yet
Development

No branches or pull requests

2 participants