summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-02-19 06:06:17 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-02-19 06:06:17 +0100
commit0fca16604b0757275bbe0023e23109d8ecd0bb0b (patch)
treee1c2a60baa7706b1ad07599bf884b0e3c81e518f
parentda4d26146e4f70b7b4a23e54d1f37be7d487138c (diff)
Dockerfile: Correctly override version at build time
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f8034a8..f79c63e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,7 +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 sed -i "s/version => \$ENV{DBFAKEDISPLAY_VERSION}/version => '${dbf_version}'/" lib/DBInfoscreen.pm
+RUN sed -i "s/version *=> *\$ENV{DBFAKEDISPLAY_VERSION}/version => '${dbf_version}'/" lib/DBInfoscreen.pm
FROM perl:5.30-slim