Add test to clojure image
This commit is contained in:
parent
9dea4c6f2f
commit
f251473601
2 changed files with 12 additions and 0 deletions
11
infrastructure/clojure/test/Dockerfile
Normal file
11
infrastructure/clojure/test/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM domaindrivenarchitecture/clojure
|
||||||
|
|
||||||
|
RUN apt update
|
||||||
|
RUN apt -yqq --no-install-recommends --yes install curl default-jre-headless
|
||||||
|
|
||||||
|
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/clojure/test/serverspec.edn
Normal file
1
infrastructure/clojure/test/serverspec.edn
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
Loading…
Reference in a new issue