Skip to content

Commit 13a7021

Browse files
committed
add version layer information
1 parent c40a60f commit 13a7021

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
FROM linuxserver/baseimage.apache
2+
MAINTAINER sparklyballs
23

3-
MAINTAINER sparklyballs <[email protected]>
4+
# set version label
5+
ARG BUILD_DATE
6+
ARG VERSION
7+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
48

59
# copy sources.list
610
COPY sources.list /etc/apt/

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The [LinuxServer.io][linuxserverurl] team brings you another container release f
1111
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
1212

1313
# linuxserver/piwigo
14-
[![](https://images.microbadger.com/badges/image/linuxserver/piwigo.svg)](http://microbadger.com/images/linuxserver/piwigo "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/piwigo.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/piwigo.svg)][hub][![Build Status](http://jenkins.linuxserver.io:8080/buildStatus/icon?job=Dockers/LinuxServer.io/linuxserver-piwigo)](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-piwigo/)
14+
[![](https://images.microbadger.com/badges/version/linuxserver/piwigo.svg)](https://microbadger.com/images/linuxserver/piwigo "Get your own version badge on microbadger.com")[![](https://images.microbadger.com/badges/image/linuxserver/piwigo.svg)](http://microbadger.com/images/linuxserver/piwigo "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/piwigo.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/piwigo.svg)][hub][![Build Status](http://jenkins.linuxserver.io:8080/buildStatus/icon?job=Dockers/LinuxServer.io/linuxserver-piwigo)](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-piwigo/)
1515
[hub]: https://hub.docker.com/r/linuxserver/piwigo/
1616

1717
Piwigo is a photo gallery software for the web that comes with powerful features to publish and manage your collection of pictures.
@@ -63,13 +63,21 @@ Self-signed keys are generated the first time you run the container and can be f
6363
The easiest way to edit the configuration file is to enable local files editor from the plugins page and use it to configure email settings etc....
6464

6565

66-
## Updates
66+
## Info
6767

68-
* To update the packages like apache etc `docker restart piwigo`.
6968
* To update piwigo if required, update via the webui
7069
* To monitor the logs of the container in realtime `docker logs -f piwigo`.
7170

71+
* container version number
72+
73+
`docker inspect -f '{{ index .Config.Labels "build_version" }}' piwigo`
74+
75+
* image version number
76+
77+
`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/piwigo`
78+
7279
## Versions
7380

81+
+ **14-10-16:** Add version layer information.
7482
+ **10.09.16:** Add layer badges to README.
7583
+ **29.08.15:** Initial Release.

0 commit comments

Comments
 (0)