diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-07-30 18:57:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 18:57:00 +0200 |
| commit | 38ee88b3905148460e30982715277e7b30857629 (patch) | |
| tree | 61cf8004cc09fefeffaafb082b8ce86a1c959da4 /Dockerfile | |
| parent | 3b97657f3bbe9bd84a99d46ad1e26391d62ba496 (diff) | |
| parent | 5b3eeb6e54d4b88adccdf847c32d8102ff6202a5 (diff) | |
Merge pull request #229 from dalf/version-from-git
version based on git
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 13885611b..63f886eba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,9 +60,6 @@ ARG VERSION_GITCOMMIT=unknown RUN su searx -c "/usr/bin/python3 -m compileall -q searx"; \ touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml; \ touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini; \ - if [ ! -z $VERSION_GITCOMMIT ]; then\ - echo "VERSION_STRING = VERSION_STRING + \"-$VERSION_GITCOMMIT\"" >> /usr/local/searx/searx/version.py; \ - fi; \ find /usr/local/searx/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \ -o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \ -type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+ |