From 87da0416a010bd10422463d85abaf9322c24e24d Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Fri, 14 Oct 2016 15:09:46 +0100 Subject: [PATCH] add version layer information --- Dockerfile | 5 +++++ README.md | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9fbc2c2..ceb2714 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ FROM lsiobase/alpine MAINTAINER sparklyballs +# set version label +ARG BUILD_DATE +ARG VERSION +LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" + # environment settings ENV BEETSDIR="/config" ENV EDITOR="nano" diff --git a/README.md b/README.md index 9f1e61e..c44cea1 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/beets -[![](https://images.microbadger.com/badges/image/linuxserver/beets.svg)](http://microbadger.com/images/linuxserver/beets "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/beets.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/beets.svg)][hub][![Build Status](http://jenkins.linuxserver.io:8080/buildStatus/icon?job=Dockers/LinuxServer.io/linuxserver-beets)](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-beets/) +[![](https://images.microbadger.com/badges/version/linuxserver/beets.svg)](https://microbadger.com/images/linuxserver/beets "Get your own version badge on microbadger.com")[![](https://images.microbadger.com/badges/image/linuxserver/beets.svg)](http://microbadger.com/images/linuxserver/beets "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/beets.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/beets.svg)][hub][![Build Status](http://jenkins.linuxserver.io:8080/buildStatus/icon?job=Dockers/LinuxServer.io/linuxserver-beets)](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-beets/) [hub]: https://hub.docker.com/r/linuxserver/beets/ [Beets][beetsurl] is a music library manager and not, for the most part, a music player. It does include a simple player plugin and an experimental Web-based player, but it generally leaves actual sound-reproduction to specialized tools. @@ -64,9 +64,18 @@ See [Beets][beetsurl] for more info. * To monitor the logs of the container in realtime `docker logs -f beets`. +* container version number + +`docker inspect -f '{{ index .Config.Labels "build_version" }}' beets` + +* image version number + +`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/beets` + ## Versions ++ **14-10-16:** Add version layer information. + **01.10.16:** Add nano and editor variable - to allow editing of the config from the container command line. + **30.09.16:** Fix umask.