From a8730e82b5b467c87934402f75a86c9867564813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Tue, 9 Nov 2021 18:02:15 +0800 Subject: [PATCH] :green_heart: fix dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index eaba2ed5..5f67e443 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM alpine as builder +FROM alpine:latest as builder LABEL stage=go-builder WORKDIR /app/ COPY ./ ./ -RUN apk add --no-cache bash git go=1.17.3-r0 gcc musl-dev; \ +RUN apk add --no-cache bash git go gcc musl-dev; \ sh build.sh docker -FROM alpine +FROM alpine:latest LABEL MAINTAINER="i@nn.ci" WORKDIR /opt/alist/ COPY --from=builder /app/bin/alist ./