From 00bbb81899fe334420dad64a4480eaa1d6289868 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Fri, 1 Apr 2022 10:31:51 +0800 Subject: [PATCH] chore: alpine version `3.15.2` --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cd35b2..9ee1471 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,17 @@ -FROM alpine as iconv +FROM alpine:3.15.2 as iconv COPY ./conf/docker/iconv.sh / RUN sh /iconv.sh -FROM alpine as vlmcsd +FROM alpine:3.15.2 as vlmcsd COPY ./conf/docker/vlmcsd.sh / RUN sh /vlmcsd.sh -FROM alpine +FROM alpine:3.15.2 LABEL maintainer="dnomd343" COPY . /var/www/kms-server COPY --from=iconv /tmp/iconv/ /usr/local/lib/ COPY --from=vlmcsd /tmp/vlmcsd/ /usr/bin/ -RUN apk --update add --no-cache nginx curl php7 php7-fpm php7-json php7-iconv php7-sqlite3 && \ +RUN apk add --no-cache nginx curl php7 php7-fpm php7-json php7-iconv php7-sqlite3 && \ rm /usr/lib/php7/modules/iconv.so && ln -s /usr/local/lib/iconv.so /usr/lib/php7/modules/ && \ mv /usr/local/lib/libiconv.so /usr/local/lib/libiconv.so.2 && \ mkdir -p /run/nginx && touch /run/nginx/nginx.pid && \