Add version to single image
This commit is contained in:
parent
9dacb5849b
commit
133e475257
|
@ -118,6 +118,9 @@ EXPOSE 443
|
||||||
EXPOSE 2222
|
EXPOSE 2222
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
RUN test -n "$VERSION"
|
||||||
|
ENV VERSION=$VERSION
|
||||||
|
|
||||||
HEALTHCHECK --interval=15s --timeout=15s --start-period=45s CMD "/healthcheck.sh"
|
HEALTHCHECK --interval=15s --timeout=15s --start-period=45s CMD "/healthcheck.sh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue