From f93670d9aeedfd657bd0d86fb6f2e124f6a81a65 Mon Sep 17 00:00:00 2001 From: soulteary Date: Mon, 9 Jan 2023 19:21:10 +0800 Subject: [PATCH] chore: update docker --- Dockerfile | 2 +- Dockerfile.alpine | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61f3625..2a0079e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17.5-stretch AS Builder +FROM golang:1.19.4-bullseye AS Builder WORKDIR /app COPY . . RUN go mod download -x diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 4c92c72..da452a4 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,10 +1,10 @@ -FROM golang:1.17.5-alpine3.15 AS Builder +FROM golang:1.19.4-alpine3.16 AS Builder WORKDIR /app COPY . . RUN go mod download -x RUN GOOS=linux GOARCH=amd64 go build -o webhook -FROM alpine:3.15 +FROM alpine:3.16 LABEL maintainer "soulteary " COPY --from=builder /app/webhook /bin/ CMD webhook \ No newline at end of file