You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by we...@apache.org on 2020/10/29 10:49:53 UTC

[apisix-docker] branch master updated: feat: remove Dashboard (#81)

This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 733c570  feat: remove Dashboard (#81)
733c570 is described below

commit 733c57091ee271c59ff838fc1c5a60d584eca298
Author: 琚致远 <ju...@apache.org>
AuthorDate: Thu Oct 29 18:49:25 2020 +0800

    feat: remove Dashboard (#81)
---
 alpine/Dockerfile | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/alpine/Dockerfile b/alpine/Dockerfile
index 007fc61..d9205d1 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