Skip to content

Commit

Permalink
fixup! Run dashboard in a dedicated deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sleshchenko committed Oct 12, 2020
1 parent 4fb27db commit 9eed3f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 41 deletions.
34 changes: 0 additions & 34 deletions deploy/kubernetes/helm/dashboard-test.md

This file was deleted.

11 changes: 4 additions & 7 deletions dockerfiles/che/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@

# Variables in `COPY --from=` is not supported see https://github.com/moby/moby/issues/34482
# this is workaround to handle that.
# TODO it's here just for testing. Uncomment before merging
#ARG CHE_DASHBOARD_ORGANIZATION=quay.io/eclipse
ARG CHE_DASHBOARD_ORGANIZATION=quay.io/eclipse
ARG CHE_DASHBOARD_NEXT_ORGANIZATION=quay.io/che-incubator
# TODO it's here just for testing. Uncomment before merging
#ARG CHE_DASHBOARD_VERSION=next
ARG CHE_DASHBOARD_VERSION=next
ARG CHE_DASHBOARD_NEXT_VERSION=next
ARG CHE_WORKSPACE_LOADER_ORGANIZATION=quay.io/eclipse
ARG CHE_WORKSPACE_LOADER_VERSION=next

# FROM ${CHE_DASHBOARD_ORGANIZATION}/che-dashboard:${CHE_DASHBOARD_VERSION} as che_dashboard_base
FROM ${CHE_DASHBOARD_ORGANIZATION}/che-dashboard:${CHE_DASHBOARD_VERSION} as che_dashboard_base
FROM ${CHE_DASHBOARD_NEXT_ORGANIZATION}/che-dashboard-next:${CHE_DASHBOARD_NEXT_VERSION} as che_dashboard_next
FROM ${CHE_WORKSPACE_LOADER_ORGANIZATION}/che-workspace-loader:${CHE_WORKSPACE_LOADER_VERSION} as che_workspace_loader_base

Expand All @@ -29,8 +27,7 @@ COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
RUN mkdir /logs /data && \
chmod 0777 /logs /data
# TODO it's here just for testing. Uncomment before merging
#COPY --from=che_dashboard_base /usr/local/apache2/htdocs/dashboard /home/user/eclipse-che/tomcat/webapps/dashboard
COPY --from=che_dashboard_base /usr/local/apache2/htdocs/dashboard /home/user/eclipse-che/tomcat/webapps/dashboard
COPY --from=che_dashboard_next /usr/local/apache2/htdocs/dashboard /home/user/eclipse-che/tomcat/webapps/dashboard/next
COPY --from=che_workspace_loader_base /usr/local/apache2/htdocs/workspace-loader/ /home/user/eclipse-che/tomcat/webapps/workspace-loader
ADD eclipse-che /home/user/eclipse-che
Expand Down

0 comments on commit 9eed3f7

Please sign in to comment.