diff --git a/.ci/Dockerfile b/.ci/Dockerfile new file mode 100644 index 0000000..91c76c6 --- /dev/null +++ b/.ci/Dockerfile @@ -0,0 +1,6 @@ +ARG PYTHON_VERSION=3 +FROM python:${PYTHON_VERSION} + +WORKDIR /code/eland +COPY . . +RUN pip install requirements-dev.txt \ No newline at end of file diff --git a/.ci/run-tests b/.ci/run-tests index 48a7d09..d4ee6ac 100755 --- a/.ci/run-tests +++ b/.ci/run-tests @@ -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 . \ No newline at end of file diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..eb6d255 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +docs/* +example/* +.git