Skip to content

Commit

Permalink
Added docker compose test file
Browse files Browse the repository at this point in the history
  • Loading branch information
gigi81 committed Jul 6, 2019
1 parent 83fe4f6 commit f9eba3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'; `
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sut:
build: .
command: powershell -File test.ps1

0 comments on commit f9eba3d

Please sign in to comment.