c4k-website/infrastructure/c4k-website-build/test/Dockerfile
erik ee9e11eb04 Implement API call to check commit hash
We now download a few kb of commit info and check for changes
in the hash first, before downloading the full zip.
Also use the clojure:lein image in test.
2022-12-09 10:13:51 +01:00

11 lines
No EOL
370 B
Docker

FROM clojure:lein
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