From 6b04a1dcd5cf72d94aefe324d88d405bcea8aae5 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sun, 26 Jun 2022 22:52:50 +0500 Subject: [PATCH] Update Dockerfile to use latest versions of Golang and Alpine. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f1b89e..a56df67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.16.5-alpine AS build +FROM golang:1.18.3-alpine AS build WORKDIR /fastpastebin COPY . . @@ -7,7 +7,7 @@ WORKDIR /fastpastebin/cmd/fastpastebin RUN CGO_ENABLED=0 go build -tags netgo -FROM alpine:3.13 +FROM alpine:3.16.0 LABEL maintainer "Stanislav N. " COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin