diff --git a/livereload/Dockerfile b/livereload/Dockerfile index df1d2af..06919ea 100644 --- a/livereload/Dockerfile +++ b/livereload/Dockerfile @@ -15,6 +15,16 @@ RUN deluser --remove-home node \ # add tini, timezone support RUN apk --update --no-cache add tzdata tini +# labels +LABEL maintainer="Asif Bacchus " +LABEL org.label-schema.cmd="docker run -d --name livereload -v /dir/to/watch:/var/watch -p 127.0.0.1:35729:35729 [-e ...] docker.asifbacchus.app/livereload/livereload:latest" +LABEL org.label-schema.description="Dockerized livereload npm running under (limited) node user. Environment variables allow specifying files to watch/exclude and notification delay." +LABEL org.label-schema.name="livereload" +LABEL org.label-schema.schema-version="1.0" +LABEL org.label-schema.url="https://git.asifbacchus.app/ab-docker/webdev" +LABEL org.label-schema.usage="https://git.asifbacchus.app/ab-docker/webdev/wiki" +LABEL org.label-schema.vcs-url="https://git.asifbacchus.app/ab-docker/webdev.git" + # create default volume in case user forgets to map one VOLUME [ "/var/watch" ] @@ -41,6 +51,6 @@ CMD node node_modules/livereload/bin/livereload.js /var/watch --debug --exts $EX # set build timestamp and version labels ARG BUILD_DATE -LABEL org.label-schema.version="0.1" +LABEL org.label-schema.version="0.5" LABEL org.label-schema.build-date=${BUILD_DATE} #EOF \ No newline at end of file