fabric8io / docker-maven-plugin

Maven plugin for running and creating Docker images
https://dmp.fabric8.io
Apache License 2.0
1.88k stars 643 forks source link

support Dockerfile RUN <<EOF #1777

Open lmtoo opened 7 months ago

lmtoo commented 7 months ago

Description

multi shell commands not executed

RUN <<EOF bash -ex
 echo "Cleaning up..."
EOF
io.fabric8 docker-maven-plugin 0.44.0 all true base-service/process:%l ${basedir}/../docker Dockerfile %v %T none install build push

Info


* Docker version :
* If it's a bug, how to reproduce :
* If it's a feature request, what is your use case :
* Sample project : *[GitHub Clone URL]*
poikilotherm commented 7 months ago

It works with RUN <<EOF for me with v0.43.4 and v0.44.0. See these pom.xml and Dockerfile for an example.