Skip to content

Commit e6eab0e

Browse files
author
AutoAR Bot
committed
Remove go-tools build section from Dockerfile and update healthcheck to use autoar
1 parent 7d0af5d commit e6eab0e

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ RUN go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
4646
go install -v github.com/h0tak88r/confused2/cmd/confused2@latest && \
4747
go install -v github.com/intigriti/misconfig-mapper/cmd/misconfig-mapper@latest
4848

49-
# Build custom Go tools
50-
WORKDIR /app/go-tools
51-
COPY go-tools/github-wordlist ./github-wordlist
52-
COPY go-tools/wp-confusion ./wp-confusion
53-
RUN cd github-wordlist && go mod init github-wordlist 2>/dev/null || true && go build -o /go/bin/github-wordlist . && \
54-
cd ../wp-confusion && go mod init wp-confusion 2>/dev/null || true && go build -o /go/bin/wp-confusion .
55-
5649
# Install TruffleHog using the official install script
5750
RUN curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh | sh -s -- -b /go/bin || \
5851
(echo "TruffleHog installation failed, continuing without it..." && echo "#!/bin/sh" > /go/bin/trufflehog && chmod +x /go/bin/trufflehog)
@@ -158,4 +151,4 @@ ENTRYPOINT ["/usr/bin/tini", "--", "/app/docker-entrypoint.sh"]
158151

159152
# Basic healthcheck: ensure process is running
160153
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
161-
CMD pgrep -f autoar-bot || exit 1
154+
CMD pgrep -f autoar || exit 1

0 commit comments

Comments
 (0)