From 815c7fbe1a7a25010287787bec2c2e564870d56d Mon Sep 17 00:00:00 2001 From: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Date: Mon, 14 Feb 2022 09:55:49 -0300 Subject: [PATCH] dockerfile:bugfix - updating dockerfiles docker base image (#989) Docker in docker 20.10-git contains some outdated dependencies with vulnerabilities, this pull request contains a new build image with fixes for this issues. Signed-off-by: Nathan Martins (cherry picked from commit 6e4d0c16abe070ead9f432da85da2bcf2d2e7176) --- deployments/Dockerfile-gorelease-amd64 | 4 +--- deployments/Dockerfile-gorelease-arm64 | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/deployments/Dockerfile-gorelease-amd64 b/deployments/Dockerfile-gorelease-amd64 index e1294871c..7ea8f69e2 100644 --- a/deployments/Dockerfile-gorelease-amd64 +++ b/deployments/Dockerfile-gorelease-amd64 @@ -12,9 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM docker:20.10-dind - -RUN apk add git --no-cache +FROM horuszup/docker-amd64:20.10-git COPY /horusec_linux_amd64 /usr/local/bin/horusec diff --git a/deployments/Dockerfile-gorelease-arm64 b/deployments/Dockerfile-gorelease-arm64 index 196f72f5f..bee2d351f 100644 --- a/deployments/Dockerfile-gorelease-arm64 +++ b/deployments/Dockerfile-gorelease-arm64 @@ -12,9 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM docker:20.10-dind - -RUN apk add git --no-cache +FROM horuszup/docker-arm64:20.10-git COPY /horusec_linux_arm64 /usr/local/bin/horusec