c4k-website/infrastructure/c4k-website-build/test/Dockerfile

16 lines
444 B
Docker
Raw Normal View History

2022-12-09 09:49:57 +00:00
FROM c4k-website-build
2022-12-09 09:49:57 +00:00
# Prepare Entrypoint Script
ADD resources /tmp
RUN /tmp/install.sh
RUN apt update
RUN apt -yqq --no-install-recommends --yes install curl default-jre-headless
2022-12-09 09:49:57 +00:00
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