diff --git a/deployments/Dockerfile b/deployments/Dockerfile index d77d72163..f09805d1e 100644 --- a/deployments/Dockerfile +++ b/deployments/Dockerfile @@ -25,6 +25,8 @@ RUN env GOOS=linux go build -ldflags '-s -w' -o /bin/horusec ./cmd/app/main.go FROM docker:20.10-git +RUN apk update && apk upgrade + COPY --from=builder /bin/horusec /usr/local/bin RUN chmod +x /usr/local/bin/horusec diff --git a/deployments/Dockerfile-gorelease-amd64 b/deployments/Dockerfile-gorelease-amd64 index 0fc234eff..3db86894f 100644 --- a/deployments/Dockerfile-gorelease-amd64 +++ b/deployments/Dockerfile-gorelease-amd64 @@ -14,6 +14,8 @@ FROM docker:20.10-git +RUN apk update && apk upgrade + COPY /horusec_linux_amd64 /usr/local/bin/horusec CMD [ "sh" ] diff --git a/deployments/Dockerfile-gorelease-arm64 b/deployments/Dockerfile-gorelease-arm64 index f087edae2..e616d9964 100644 --- a/deployments/Dockerfile-gorelease-arm64 +++ b/deployments/Dockerfile-gorelease-arm64 @@ -14,6 +14,8 @@ FROM docker:20.10-git +RUN apk update && apk upgrade + COPY /horusec_linux_arm64 /usr/local/bin/horusec CMD [ "sh" ]