From 733c57091ee271c59ff838fc1c5a60d584eca298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=9A=E8=87=B4=E8=BF=9C?= Date: Thu, 29 Oct 2020 18:49:25 +0800 Subject: [PATCH] feat: remove Dashboard (#81) --- alpine/Dockerfile | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 007fc612..d9205d1f 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,17 +1,3 @@ -FROM node:10-alpine3.11 AS build-stage - -ARG APISIX_VERSION=1.3 - -RUN set -x \ - && /bin/sed -i 's,http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g' /etc/apk/repositories \ - && apk add --no-cache --virtual .build-deps git \ - && git clone -b ${APISIX_VERSION} https://github.com/apache/apisix.git /tmp/apisix \ - && cd /tmp/apisix \ - && git submodule init \ - && git submodule update \ - && cd dashboard \ - && yarn && yarn build:prod - FROM openresty/openresty:alpine-fat AS production-stage ARG APISIX_VERSION=1.3 @@ -46,8 +32,6 @@ COPY --from=production-stage /usr/local/openresty/ /usr/local/openresty/ COPY --from=production-stage /usr/local/apisix/ /usr/local/apisix/ COPY --from=production-stage /usr/bin/apisix /usr/bin/apisix -COPY --from=build-stage /tmp/apisix/dashboard/dist/ /usr/local/apisix/dashboard/ - ENV PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin EXPOSE 9080 9443