From f9eba3d6e5482ec8291c56a695098a2611937571 Mon Sep 17 00:00:00 2001 From: Luigi Grilli Date: Sat, 6 Jul 2019 07:28:30 +0100 Subject: [PATCH] Added docker compose test file --- Dockerfile | 4 +--- docker-compose.test.yaml | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 docker-compose.test.yaml diff --git a/Dockerfile b/Dockerfile index bebfdd6..e644110 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,8 @@ FROM openjdk:11-jdk-windowsservercore-1809 -ARG ARGVERSION - ENV ES_HOME=C:\elasticsearch ` - ES_VERSION=$ARGVERSION + ES_VERSION=7.2.0 # install elasticsearch RUN Invoke-WebRequest -Uri "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$($env:ES_VERSION)-windows-x86_64.zip" -OutFile 'es.zip'; ` diff --git a/docker-compose.test.yaml b/docker-compose.test.yaml new file mode 100644 index 0000000..85be679 --- /dev/null +++ b/docker-compose.test.yaml @@ -0,0 +1,3 @@ +sut: + build: . + command: powershell -File test.ps1