Skip to content

Commit

Permalink
#1 docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Aug 8, 2018
1 parent b0d2379 commit b5fb099
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ LABEL maintainer="[email protected]"
LABEL description="iRODS Metadata Template REST endpoint"
ADD runit.sh /

ADD metadata-template-rest.jar /
ADD target/metadata-template-rest.jar /
CMD ["/runit.sh"]



# build: docker build -t diceunc/metadata-template-rest:latest .
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
# irods-ext-metadata-template-service
irods-ext based metadata template service



### Building

This is a spring boot application run as a single executable jar, therefore, to build for docker packaging, run

```
mvn package spring-boot:repackage
```

The docker image can be build using the provided Dockerfile at the root of this repo using a command such as

```
docker build -t diceunc/metadata-template-rest:latest .
```

0 comments on commit b5fb099

Please sign in to comment.