git-secret/vendor/bats-core/Dockerfile
2021-05-04 13:01:41 +03:00

16 lines
386 B
Docker
Executable File

ARG bashver=latest
FROM bash:${bashver}
# Install parallel and accept the citation notice (we aren't using this in a
# context where it make sense to cite GNU Parallel).
RUN apk add --no-cache parallel ncurses && \
mkdir -p ~/.parallel && touch ~/.parallel/will-cite
RUN ln -s /opt/bats/bin/bats /usr/local/bin/bats
COPY . /opt/bats/
WORKDIR /code/
ENTRYPOINT ["bash", "bats"]