From a060acc995066bce1af49ee497c34201059715c7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jan 2024 17:20:51 +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..f490e99 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19.10-alpine AS builder +FROM golang:1.22rc2-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.22rc2-alpine # install bash shell RUN apk add --update bash && rm -rf /var/cache/apk/*