Public Repository

Last pushed: a year ago
Short Description
docker spring boot template image
Full Description

--docker for mac
--docker maven plugin

<properties>

<docker.image.prefix>byzasdocker</docker.image.prefix>
</properties>

<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.9</version>
<configuration>
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
<dockerDirectory>src/main/docker</dockerDirectory>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
</plugin>

DOCKER_HOST=unix:///var/run/docker.sock mvn package docker:build
docker tag *27 byzasdocker/spring-boot-template:latest
docker login
docker push byzasdocker/spring-boot-template

Docker Pull Command
Owner
byzasdocker