Reworked labels, readme and added License

This commit is contained in:
Quentin McGaw
2018-10-29 16:32:11 +01:00
parent 4bcaec6a33
commit 08d1afccfe
4 changed files with 109 additions and 67 deletions

9
hooks/build Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# see http://label-schema.org/rc1
# https://docs.docker.com/docker-cloud/builds/advanced/#override-build-test-or-push-commands
# https://docs.docker.com/docker-cloud/builds/advanced/#custom-build-phase-hooks
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
-t $IMAGE_NAME .