How to add RUN Commands with docker-maven-plugin in pom.xml How to add RUN Commands with docker-maven-plugin in pom.xml docker docker

How to add RUN Commands with docker-maven-plugin in pom.xml


Try runs:

  <plugin>      <groupId>com.spotify</groupId>      <artifactId>docker-maven-plugin</artifactId>              <configuration>        <runs>          <run>groupadd syslog</run>          <run>apt-get update</run>          <run>apt-get -q install -y curl logrotate iproute2</run>        </runs>      </configuration>    </plugin>