update cmd label, bump version

This commit is contained in:
Asif Bacchus 2020-02-07 06:48:01 -07:00
parent dd26dbbf29
commit a9818f1c8a

View File

@ -5,7 +5,7 @@ FROM alpine:3.11
# standardized labels # standardized labels
LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>" LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>"
LABEL org.label-schema.cmd="docker run --rm -t -p [<ipaddr>:]<host port>:5555 [--name ab-netcat] [-e TZ=timezone] docker.asifbacchus.app/ab-netcat" LABEL org.label-schema.cmd="docker run [-d|-it] --init --rm -p [<ipaddr>:]<host port>:5555 [--name ab-netcat] [-e TZ=timezone] docker.asifbacchus.app/ab-netcat [/bin/sh]"
LABEL org.label-schema.description="Persistent netcat (BSD) echo server on Alpine Linux" LABEL org.label-schema.description="Persistent netcat (BSD) echo server on Alpine Linux"
LABEL org.label-schema.name="ab-netcat" LABEL org.label-schema.name="ab-netcat"
LABEL org.label-schema.schema-version="1.0" LABEL org.label-schema.schema-version="1.0"
@ -35,7 +35,7 @@ CMD [ "nc", "-klv", "5555" ]
# add build date and version labels # add build date and version labels
ARG BUILD_DATE ARG BUILD_DATE
LABEL org.label-schema.version="0.1" LABEL org.label-schema.version="1.0"
LABEL org.label-schema.build-date=${BUILD_DATE} LABEL org.label-schema.build-date=${BUILD_DATE}
#EOF #EOF