From 0a420cdabc4e1bf93f893a8592ab71d606dbffc3 Mon Sep 17 00:00:00 2001 From: sparklyballs <sparklyballs@gmail.com> Date: Thu, 13 Oct 2016 18:05:12 +0100 Subject: [PATCH] add version label --- Dockerfile | 5 +++++ README.md | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cc5f530..4967085 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,11 @@ MAINTAINER Gonzalo Peci <davyjones@linuxserver.io>, sparklyballs #Â environment variables ENV PYTHON_EGG_CACHE="/config/plugins/.python-eggs" +# set version label +ARG BUILD_DATE +ARG VERSION +LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" + #Â install runtime packages RUN \ apk add --no-cache \ diff --git a/README.md b/README.md index 64e46cb..c4cda8a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The [LinuxServer.io][linuxserverurl] team brings you another container release f * [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation! # linuxserver/deluge -[](http://microbadger.com/images/linuxserver/deluge "Get your own image badge on microbadger.com")[][hub][][hub][](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-deluge/) +[](https://microbadger.com/images/linuxserver/deluge "Get your own version badge on microbadger.com")[](http://microbadger.com/images/linuxserver/deluge "Get your own image badge on microbadger.com")[][hub][][hub][](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-deluge/) [hub]: https://hub.docker.com/r/linuxserver/deluge/ [deluge](http://deluge-torrent.org/) Deluge is a lightweight, Free Software, cross-platform BitTorrent client. @@ -71,6 +71,14 @@ Change the downloads location in the webui in Preferences->Downloads and use /do * Monitor the logs of the container in realtime `docker logs -f deluge`. +* container version number + +`docker inspect -f '{{ index .Config.Labels "build_version" }}' deluge` + +* image version number + +`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/deluge` + ## Versions + **30.09.16:** Switch to libressl as openssl deprecated from alpine linux and deluge dependency -- GitLab