FIX: Show proper version on /VERSION file
authorRafael dos Santos Silva <xfalcox@gmail.com>
Thu, 1 Jun 2017 15:25:46 +0000 (12:25 -0300)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Thu, 1 Jun 2017 15:25:46 +0000 (12:25 -0300)
image/base/Dockerfile

index 3d938bc8e323752597ad6d9c664200cbdcd27fef..521bfd666048f637e96c524416402a41ce439aa3 100644 (file)
@@ -8,7 +8,7 @@ ENV COMPRESS_BROTLI 1
 
 MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
 
-ADD VERSION /VERSION
+RUN echo 2.0.`date +%Y%m%d` > /VERSION
 
 RUN apt-get update && apt-get install -y lsb-release sudo curl
 RUN echo "debconf debconf/frontend select Teletype" | debconf-set-selections