First attempt at suitable Dockerfile and config for building Docker image for eland

This commit is contained in:
Winterflower 2019-11-25 19:15:37 +01:00
parent ad118fcbad
commit d0aa84a894
3 changed files with 13 additions and 0 deletions

6
.ci/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
ARG PYTHON_VERSION=3
FROM python:${PYTHON_VERSION}
WORKDIR /code/eland
COPY . .
RUN pip install requirements-dev.txt

View File

@ -53,3 +53,7 @@ echo -e "\033[1m>>>>> YOUR STEPS HERE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
## Use ${elasticsearch_url} to talk to elasticsearch
## declare your matrix variables here as well e.g DOTNET_VERSION=${DOTNET_VERSION-3.0.100}
echo -e "\033[1m>>>>> Build [elastic/eland container] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
docker build --file .ci/DockerFile --tag elastic/eland .

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
docs/*
example/*
.git