From 1f6fe0d4bc8f8af4ea68ed3d824959a9889eba32 Mon Sep 17 00:00:00 2001 From: justusbunsi Date: Sat, 14 May 2022 01:42:42 +0200 Subject: [PATCH] Bump golang to 1.18 Signed-off-by: Steven Kriegler --- Dockerfile | 4 ++-- contrib/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 162b0bd..c91dd76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ################################### # Build stages ################################### -FROM golang:1.17-alpine3.14 AS build-go +FROM golang:1.18-alpine3.15 AS build-go ARG GOPROXY ENV GOPROXY ${GOPROXY:-direct} @@ -17,7 +17,7 @@ RUN go build ./cmd/gitea-sonarqube-bot ################################### # Production image ################################### -FROM alpine:3.14 +FROM alpine:3.15 LABEL maintainer="justusbunsi " RUN apk update \ diff --git a/contrib/Dockerfile b/contrib/Dockerfile index 0894d1d..c51970b 100644 --- a/contrib/Dockerfile +++ b/contrib/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17-alpine3.14 +FROM golang:1.18-alpine3.15 RUN apk --no-cache add build-base git bash curl openssl npm