mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-02-19 20:04:00 +08:00
add version layer information
This commit is contained in:
parent
0f1de62708
commit
15fd1db27f
@ -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 HOME="/config"
|
||||
|
||||
|
||||
11
README.md
11
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/syncthing
|
||||
[](http://microbadger.com/images/linuxserver/syncthing "Get your own image badge on microbadger.com")[][hub][][hub][](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-syncthing/)
|
||||
[](https://microbadger.com/images/linuxserver/syncthing "Get your own version badge on microbadger.com")[](http://microbadger.com/images/linuxserver/syncthing "Get your own image badge on microbadger.com")[][hub][][hub][](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-syncthing/)
|
||||
[hub]: https://hub.docker.com/r/linuxserver/syncthing/
|
||||
|
||||
Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.
|
||||
@ -67,8 +67,17 @@ You can find some of the best documentation available on the web at [docs.syncth
|
||||
* Shell access whilst the container is running: `docker exec -it syncthing /bin/bash`
|
||||
* To monitor the logs of the container in realtime: `docker logs -f syncthing`
|
||||
|
||||
* container version number
|
||||
|
||||
`docker inspect -f '{{ index .Config.Labels "build_version" }}' syncthing`
|
||||
|
||||
* image version number
|
||||
|
||||
`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/syncthing`
|
||||
|
||||
## Versions
|
||||
|
||||
+ **14-10-16:** Add version layer information.
|
||||
+ **30.09.16:** Fix umask.
|
||||
+ **09.09.16:** Add layer badges to README.
|
||||
+ **28.08.16:** Add badges to README.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user