Add test to devops-build image
This commit is contained in:
parent
f251473601
commit
aaba741bf4
2 changed files with 12 additions and 0 deletions
11
infrastructure/devops-build/test/Dockerfile
Normal file
11
infrastructure/devops-build/test/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM domaindrivenarchitecture/devops-build
|
||||
|
||||
RUN apk update
|
||||
RUN apk add curl openjdk8
|
||||
|
||||
RUN curl -L -o /tmp/serverspec.jar \
|
||||
https://github.com/DomainDrivenArchitecture/dda-serverspec-crate/releases/download/2.0.0/dda-serverspec-standalone.jar
|
||||
|
||||
COPY serverspec.edn /tmp/serverspec.edn
|
||||
|
||||
RUN java -jar /tmp/serverspec.jar /tmp/serverspec.edn -v
|
1
infrastructure/devops-build/test/serverspec.edn
Normal file
1
infrastructure/devops-build/test/serverspec.edn
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
Loading…
Reference in a new issue