projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3bb191
)
Add env var for image version (#507)
author
Rafael dos Santos Silva
<xfalcox@gmail.com>
Fri, 18 Dec 2020 20:10:18 +0000
(17:10 -0300)
committer
GitHub
<noreply@github.com>
Fri, 18 Dec 2020 20:10:18 +0000
(17:10 -0300)
image/base/Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/image/base/Dockerfile
b/image/base/Dockerfile
index dae8bf0670f436c4d65616bf2ca5f31dea1113ac..a7efa4db03094a4a60cf7710862ac39d703e744c 100644
(file)
--- a/
image/base/Dockerfile
+++ b/
image/base/Dockerfile
@@
-8,6
+8,7
@@
ENV RAILS_ENV production
#LABEL maintainer="Sam Saffron \"https://twitter.com/samsaffron\""
+ENV IMAGE_VERSION 2.0.`date +%Y%m%d`
RUN echo 2.0.`date +%Y%m%d` > /VERSION
RUN apt update && apt install -y gnupg sudo curl