mirror of
https://github.com/koenrh/actions.git
synced 2024-12-31 04:21:54 +08:00
Add bats
This commit is contained in:
parent
b6e819cb84
commit
108ac7f735
2 changed files with 25 additions and 0 deletions
22
bats/Dockerfile
Normal file
22
bats/Dockerfile
Normal 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
3
bats/entrypoint.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh -l
|
||||
|
||||
sh -c "bats $*"
|
Loading…
Reference in a new issue