mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Dockerfiles - Alpine Linux 3.15 EoL (#1914)
* Update Dockerfile - Alpine Linux 3.15 EoL Support ends in 2 weeks (01 Nov 2023). * Update Dockerfile.goreleaser - Alpine Linux 3.15 EoL Support ends in 2 weeks (01 Nov 2023).
This commit is contained in:
parent
664c4884a6
commit
8712e80c7e
2 changed files with 4 additions and 5 deletions
|
@ -8,9 +8,9 @@ RUN --mount=type=cache,target=/go/pkg/mod \
|
|||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o trufflehog .
|
||||
|
||||
FROM alpine:3.15
|
||||
FROM alpine:3.16
|
||||
RUN apk add --no-cache bash git openssh-client ca-certificates \
|
||||
&& update-ca-certificates
|
||||
&& rm -rf /var/cache/apk/* && update-ca-certificates
|
||||
COPY --from=builder /build/trufflehog /usr/bin/trufflehog
|
||||
COPY entrypoint.sh /etc/entrypoint.sh
|
||||
RUN chmod +x /etc/entrypoint.sh
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
FROM alpine:3.15
|
||||
FROM alpine:3.16
|
||||
|
||||
RUN apk add --no-cache bash git openssh-client ca-certificates \
|
||||
&& rm -rf /var/cache/apk/* && \
|
||||
update-ca-certificates
|
||||
&& rm -rf /var/cache/apk/* && update-ca-certificates
|
||||
WORKDIR /usr/bin/
|
||||
COPY trufflehog .
|
||||
COPY entrypoint.sh /etc/entrypoint.sh
|
||||
|
|
Loading…
Reference in a new issue