mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
16 lines
519 B
Docker
16 lines
519 B
Docker
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 echo "@edgecomm http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
|
apk update && \
|
|
apk add --no-cache parallel ncurses shellcheck@edgecomm && \
|
|
mkdir -p ~/.parallel && touch ~/.parallel/will-cite
|
|
|
|
RUN ln -s /opt/bats/bin/bats /usr/sbin/bats
|
|
COPY . /opt/bats/
|
|
|
|
ENTRYPOINT ["bash", "/usr/sbin/bats"]
|