summaryrefslogtreecommitdiff
path: root/Dockerfile
AgeCommit message (Collapse)Author
2021-07-30version based on the git repositoryAlexandre Flament
This commit remove the need to update the brand for GIT_URL and GIT_BRANCH: there are read from the git repository. It is possible to call python -m searx.version freeze to freeze the current version. Useful when the code is installed outside git (distro package, docker, etc...)
2021-06-21Docker: upgrade to alpine 3.14Alexandre Flament
Uses Python version 3.9 instead of 3.8
2021-05-17[brand] Dockerfile default INSTANCE_NAME=searxngMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-09[mod] Dockerfile: upgrade to Alpine 3.13Alexandre Flament
See: * https://alpinelinux.org/posts/Alpine-3.13.0-released.html * musl>=1.2.1 have a new malloc implementation (mallocng) :
2021-04-28[docker] multiarch support: linux/amd64,linux/arm64,linux/arm/v7Alexandre Flament
make docker.buildx : build and push multiarch build. (it can't be only build) use buildx with the --cache-from and --cache-to options to cache the layers (only the last built is cached)
2021-04-08Allow overriding env vars SEARX_SETTINGS_PATH,UWSGI_SETTINGS_PATH3nprob
2021-04-05Reduce redundant docker build steps3nprob
2021-03-25[mod] Dockerfile: remove protobuff dependencyAlexandre Flament
See https://github.com/searx/searx/pull/2481
2021-01-12[enh] add checkerAlexandre Flament
2020-09-19Merge pull request #1865 from dalf/uwsgi_staticAlexandre Flament
[enh] Docker image: uwsgi serves the static files directly.
2020-07-11Dockerfile: upgrade base to alpine 3.12 (#1983)Wonderfall
Author: Wonderfall <wonderfall@targaryen.house>
2020-05-09Remove cache of pip upgradeJason Kaltsikis
2020-04-29Merge branch 'master' into uwsgi_staticMarkus Heiser
2020-03-25[fix] brands: add GIT_URL variable to the docker buildMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-25[enh] Docker image: uwsgi serves the static files directly.Dalf
When the image is built, the static files are compressed with gzip and brotli. The expires header is set to one day (same as Flask) There is not etag header (Flask does add an etag header)
2019-12-17:memo: Opencontainers labels in docker image #1772mathieu.brunot
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2019-12-02Merge pull request #1680 from robbyoconnor/patch-1Adam Tauber
Add --no-cache to tell apk to not cache packages
2019-10-14:whale: Config for instance name and autocompletemathieu.brunot
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2019-08-18..Robert O'Connor
2019-08-18some other minor tweaks to move stuff very unlikely to change to the top in ↵Robert O'Connor
efforts to delay cache invalidation
2019-08-18add --no-cache to package installsRobby O'Connor
Add --no-cache to apk upgrade and apk add calls.
2019-08-01[fix] Dockerfile: searx version stores in org.label-schema.version (#1659)Alexandre Flament
instead of org.label-schema.schema-version
2019-07-13Update Docker imageDalf
See #1561 , use uwsgi and Alpine Linux Volume: /var/log/uwsgi contains error log for 2 days (file uwsgi.log) /etc/searx contains the settings.yml and uwsgi.ini files. The docker image creates them if they don't exist. The two files can be modified after the first run. See below. Environement variables: MORTY_URL : external URL of Morty MORTY_KEY : base64 encoded key BASE_URL : external URL of Searx BIND_ADDRESS : internal HTTP port to listen to Labels : org.label-schema.schema.* Parameters: -h : display this help -d : will update the settings and quit immediately (settings.yml and uwsgi.ini) -f : always update the settings (previous version saved with suffix .old). without this parameter, the new settings are copied with suffix .new When the Docker image contains newer settings: - without -f parameter: the new versions are copied to /etc/searx/settings.yml.new and /etc/searx/uwsgi.ini.new. - with -f parameter: the old versions are renamed with .old suffix. The new version replaces /etc/searx/settings.yml and /etc/searx/uwsgi.ini Build using "./manage.sh docker_build", add "push" as parameter also push the Docker image. The script requires a git repository to work (it makes sure that the last git tag matches searx/version.py) "git describe" is used to create a meaningful version. Example : 0.15.0-90-49c5bcb4-dirty (dirty means that the docker image was made with uncommited changes). Use "docker inspect -f {{.Config.Labels.version}} searx" to get the version of an existing image. .dockerignore based on .gitignore .travis.yml: include docker stage
2019-01-14Define http proxy variables in Dockerfile before using thempelag0s
2019-01-12docker: allow configuring http proxy via env variablespelag0s
2018-11-29Update Dockerfile (#1451)ZEROF
- Forget one "\" in the process!
2018-11-29Update DockerfileZEROF
- Fix for docker image build error "Could not find a version that satisfies the requirement cffi!=1.11.3,>=1.7 (from versions: )"
2018-08-19Merge branch 'master' into patch-2Noémi Ványi
2018-08-19Update Docker image to Alpine 3.8Angristan
2018-08-19Merge branch 'master' into patch-2Adam Tauber
2018-03-10Use new LABEL syntax for DockerfileAngristan
https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
2018-03-10Update to Alpine 3.7Angristan
https://www.alpinelinux.org/posts/Alpine-3.7.0-released.html
2018-02-13Change the version of alpine on the dockerfile to deploy Searx on ARM ↵Michael Vieira
architectures
2017-03-02Fix #872. Google search works again with docker.Juan Garcia Basilio
All the credit goes to Wonderfall. Thanks for that! See: https://github.com/Wonderfall/dockerfiles/issues/110
2017-02-23[enh] alpine version bump in dockerAdam Tauber
2017-02-08fix #850Jannik Winkel
2016-02-09Dockerfile enhancementsWonderfall
2016-01-15Some changes in Dockerfile:Thomas Renard
- searx/settings.yml is the right name in second sed line - COPY requirements.txt . does not work: "Not a directory"
2016-01-04Better DockerfileWonderfall
2016-01-04Better DockerfileWonderfall
2016-01-03Better DockerfileWonderfall
2016-01-03Better DockerfileWonderfall
2015-12-30Better Docker embedded supportWonderfall
2015-06-10Update Dockerfile.Giorgos Logiotatidis
- Install new packages needed to deploy search - Optimize dockerfile for more docker deamon caching - Pin a python2.7 base image.
2015-02-03Add Docker support.Giorgos Logiotatidis