From f341de2ff1500400f3256e2041ecda22f45fca07 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Mar 2024 19:01:00 +0000 Subject: [PATCH] fix: docker/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-5890990 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-5890990 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-5890990 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 55a7f3c..8e3f3a4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19.10-alpine AS builder +FROM golang:1.22.0-alpine AS builder # Copy the code from the host and compile it WORKDIR $GOPATH/src/github.com/RedisAI/aibench @@ -6,7 +6,7 @@ COPY . ./ RUN apk add --no-cache git make bash RUN make all -FROM golang:1.19.10-alpine +FROM golang:1.22.0-alpine # install bash shell RUN apk add --update bash && rm -rf /var/cache/apk/*