Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

A template for docker project (Java)

License

Notifications You must be signed in to change notification settings

topinambours/template-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template-Docker

Docker link : https://hub.docker.com/r/topinambours/template-docker

docker pull topinambours/template-docker
docker run topinambours/template-docker

To deploy with travis :

language: java
sudo: false

jdk:
  - openjdk10

jobs:
  include:
    - stage: test
      script:
        - mvn test
    - stage : deploy
      script :
        - docker build -t topinambours/template-docker .
        - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
        - docker push topinambours/template-docker:latest

Travis-Ci Environment Variables : DOCKER_USERNAME , DOCKER_PASSWORD

About

A template for docker project (Java)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published