https://github.com/hypothesis/elasticsearch_docker
Contains the Elastic Search Dockerfile for Hypothesis' development environment.
https://github.com/hypothesis/elasticsearch_docker
Last synced: 5 months ago
JSON representation
Contains the Elastic Search Dockerfile for Hypothesis' development environment.
- Host: GitHub
- URL: https://github.com/hypothesis/elasticsearch_docker
- Owner: hypothesis
- Created: 2018-04-25T17:05:34.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T11:42:05.000Z (over 1 year ago)
- Last Synced: 2025-08-15T04:42:43.741Z (11 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elasticsearch_docker
The Elasticsearch Dockerfile for Hypothesis' development environment.
## Building the Docker image locally
To build the image for just your current platform, use:
```
docker build -t hypothesis/elasticsearch:elasticsearch7.10 .
```
To build the image for both x64 and Arm, make sure your Docker environment is
configured to support [multi-platform
builds](https://docs.docker.com/build/building/multi-platform/). Then run:
```
docker buildx build --platform linux/arm64/v8,linux/amd64 --tag hypothesis/elasticsearch:elasticsearch7.10 .
```
## Publishing the Docker container
1. Build the container for both x64 and Arm using `docker buildx` as described
above.
2. Login to docker hub.
```
docker login
```
3. Push the Docker image to the registry at https://hub.docker.com/r/hypothesis/elasticsearch/.
```
docker push hypothesis/elasticsearch:elasticsearch7.10
```