mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
539be34752
* Add openssh-client to docker container * Add ssh auth example and --rm to all docker run commands
10 lines
286 B
Docker
10 lines
286 B
Docker
FROM alpine:3.15
|
|
|
|
RUN apk add --no-cache bash git openssh-client ca-certificates \
|
|
&& rm -rf /var/cache/apk/* && \
|
|
update-ca-certificates
|
|
WORKDIR /usr/bin/
|
|
COPY trufflehog .
|
|
COPY entrypoint.sh /etc/entrypoint.sh
|
|
RUN chmod +x /etc/entrypoint.sh
|
|
ENTRYPOINT ["/etc/entrypoint.sh"]
|