This commit is contained in:
Koen Rouwhorst 2019-10-12 17:35:54 +02:00
parent b6e819cb84
commit 108ac7f735
2 changed files with 25 additions and 0 deletions

22
bats/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
FROM debian:stable-slim
LABEL "name"="bats"
LABEL "maintainer"="GitHub Actions <support+actions@github.com>"
LABEL "version"="1.0.0"
LABEL "com.github.actions.name"="Bats for GitHub Actions"
LABEL "com.github.actions.description"="Bash Automated Testing System for Actions"
LABEL "com.github.actions.icon"="terminal"
LABEL "com.github.actions.color"="gray-dark"
COPY LICENSE README.md THIRD_PARTY_NOTICE.md /
RUN apt-get update && \
apt-get install --no-install-recommends -y \
bats && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

3
bats/entrypoint.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh -l
sh -c "bats $*"