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

[apisix-docker] 01/01: feat: remove Dashboard

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

juzhiyuan pushed a commit to branch feat-remove-dashboard
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git

commit eb2c14b91cacd306fe10f99cc9a8c5824b066df2
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Thu Oct 29 12:05:51 2020 +0800

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

diff --git a/alpine/Dockerfile b/alpine/Dockerfile
index 007fc61..52c27d0 100644
--- a/alpine/Dockerfile
+++ b/alpine/Dockerfile
@@ -7,10 +7,6 @@ RUN set -x \
     && 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
 
@@ -46,8 +42,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