-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3f9473
commit 9aed5a1
Showing
4 changed files
with
70 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.18-alpine3.15 AS builder | ||
FROM golang:1.19-alpine3.17 AS builder | ||
MAINTAINER DeepFence | ||
|
||
RUN apk update \ | ||
|
@@ -8,25 +8,25 @@ ENV PKG_CONFIG_PATH=/usr/local/include/hs/ \ | |
CGO_CFLAGS="-I/usr/local/include/hyperscan/src" \ | ||
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/include/hs/lib:$LD_LIBRARY_PATH | ||
|
||
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1 \ | ||
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1 \ | ||
&& go install google.golang.org/grpc/cmd/[email protected] | ||
|
||
WORKDIR /home/deepfence/src/SecretScanner | ||
COPY . . | ||
RUN make clean | ||
RUN make | ||
|
||
FROM alpine:3.15 | ||
FROM alpine:3.17 | ||
MAINTAINER DeepFence | ||
LABEL deepfence.role=system | ||
|
||
ENV MGMT_CONSOLE_URL=deepfence-internal-router \ | ||
MGMT_CONSOLE_PORT=443 | ||
RUN apk update && apk add --no-cache --upgrade curl tar libstdc++ libgcc docker skopeo python3 py3-pip bash podman \ | ||
&& apk add hyperscan --repository=https://dl-cdn.alpinelinux.org/alpine/v3.13/community \ | ||
&& curl -fsSLOk https://github.com/containerd/nerdctl/releases/download/v0.23.0/nerdctl-0.23.0-linux-amd64.tar.gz \ | ||
&& tar Cxzvvf /usr/local/bin nerdctl-0.23.0-linux-amd64.tar.gz \ | ||
&& rm nerdctl-0.23.0-linux-amd64.tar.gz \ | ||
&& curl -fsSLOk https://github.com/containerd/nerdctl/releases/download/v1.1.0/nerdctl-1.1.0-linux-amd64.tar.gz \ | ||
&& tar Cxzvvf /usr/local/bin nerdctl-1.1.0-linux-amd64.tar.gz \ | ||
&& rm nerdctl-1.1.0-linux-amd64.tar.gz \ | ||
&& apk del curl | ||
WORKDIR /home/deepfence/usr | ||
COPY --from=builder /home/deepfence/src/SecretScanner/SecretScanner . | ||
|
Submodule agent-plugins-grpc
updated
2 files
+1 −0 | proto/malware_scanner.proto | |
+2 −1 | proto/package_scanner.proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.