diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-17 21:10:48 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-17 21:10:48 +0100 |
commit | 7f0a644f639e5e4ef9d6ed326df7b8ec833e7de4 (patch) | |
tree | 3a4e1437789bbc39cf3c0eb7d7af067b258461c5 /Dockerfile | |
parent | 4609b7312d67063b2cb0d5803260d7dc25475bc2 (diff) |
set version via config
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -19,9 +19,7 @@ WORKDIR /app RUN ln -sf ../ext-templates/imprint.html.ep templates/imprint.html.ep \ && ln -sf ../ext-templates/privacy.html.ep templates/privacy.html.ep -RUN find lib -name *.pm | xargs sed -i \ - -e "s/VERSION *= *.*;/VERSION = '${dbf_version}';/" \ - -e "s/dbf_version *= *.*;/dbf_version = '${dbf_version}';/" +RUN sed -i "s/version => \$ENV{DBFAKEDISPLAY_VERSION}.*,/version => '${dbf_version}',/" lib/DBInfoscreen.pm FROM perl:5.30-slim |