Docker build file for microservice created by Java, maven and S3 repository.
1.2K
Docker build file for microservices created by Java, maven and S3 repository. You need to have Docker installed and running to make this useful.
git clone https://github.com/gabrianoo/docker-microservice.git
docker build -t docker-microservice-custom docker-microservice
# Snapshots: s3://<S3_URL>/repository/snapshots
# Releases: s3://S3_URL/repository/releases
# if you will use AWS S3 Wagon add the -e variables otherwise ignore this
docker run -d --name docker-microservice -e S3_URL=<S3_URL> -e S3_USERNAME=<S3_USERNAME> \
-e S3_PASSWORD=<S3_PASSWORD> -e ARTIFACT=<ARTIFACT_TO_RUN> docker-microservice-custom
docker run -d --name microservice -e S3_URL=<S3_URL> -e S3_USERNAME=<S3_USERNAME> \
-e S3_PASSWORD=<S3_PASSWORD> -e ARTIFACT=<ARTIFACT_TO_RUN> otasys/microservice
Content type
Image
Digest
sha256:11ae567fb…
Size
265.7 MB
Last updated
almost 11 years ago
docker pull otasys/micrservice