mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-04 16:04:57 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
71ace76cf7 | ||
|
57d6d420b8 | ||
|
b46ddc4c8e | ||
|
b5200596f9 |
@@ -19,10 +19,10 @@ ENV DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 \
|
|||||||
DOCKER_URL=DOCKER_URL_${ARCH}
|
DOCKER_URL=DOCKER_URL_${ARCH}
|
||||||
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
|
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
|
||||||
|
|
||||||
ENV GIT_COMMIT="9a95cd2eae9c4a3effa12fb13826cee48c40e26a" \
|
ENV GIT_COMMIT="18f619f9df6db5cb6dc3d18c1e89121d0243e754" \
|
||||||
GIT_BRANCH="ke/v0.2" \
|
GIT_BRANCH="ke/v0.2" \
|
||||||
GIT_SOURCE="/go/src/github.com/rancher/steve" \
|
GIT_SOURCE="/go/src/github.com/rancher/steve" \
|
||||||
CATTLE_DASHBOARD_UI_VERSION=v2.6.1-kube-explorer-ui-rc1
|
CATTLE_DASHBOARD_UI_VERSION=v2.6.3-kube-explorer-ui-rc1
|
||||||
|
|
||||||
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS
|
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS
|
||||||
ENV DAPPER_SOURCE /opt/kube-explorer
|
ENV DAPPER_SOURCE /opt/kube-explorer
|
||||||
|
10
README.md
10
README.md
@@ -21,7 +21,15 @@ Then, open the browser to visit http://x.x.x.x:9898 .
|
|||||||
To debug on an AMD64 Linux host:
|
To debug on an AMD64 Linux host:
|
||||||
|
|
||||||
```
|
```
|
||||||
make
|
make dev
|
||||||
|
|
||||||
|
# $basedir=/opt/ui/dist/
|
||||||
|
# prepare the file trees like this
|
||||||
|
# $basedir/dashboard/
|
||||||
|
# $basedir/index.html
|
||||||
|
|
||||||
|
# good to go!
|
||||||
|
./kube-explorer --debug --ui-path /opt/ui/dist/ --http-listen-port=9898 --https-listen-port=0
|
||||||
```
|
```
|
||||||
|
|
||||||
To build all cross-platform binaries:
|
To build all cross-platform binaries:
|
||||||
|
@@ -10,7 +10,7 @@ git reset --hard ${GIT_COMMIT}
|
|||||||
|
|
||||||
mkdir -p pkg/ui/ui/dashboard
|
mkdir -p pkg/ui/ui/dashboard
|
||||||
cd pkg/ui/ui/dashboard
|
cd pkg/ui/ui/dashboard
|
||||||
curl -sL https://rancher-dashboard-ui.s3.ap-southeast-2.amazonaws.com/release-2.6-cn/kube-explorer-ui/${CATTLE_DASHBOARD_UI_VERSION}.tar.gz | tar xvzf - --strip-components=2
|
curl -sL https://pandaria-dashboard-ui.s3.ap-southeast-2.amazonaws.com/release-2.6-cn/kube-explorer-ui/${CATTLE_DASHBOARD_UI_VERSION}.tar.gz | tar xvzf - --strip-components=2
|
||||||
cp index.html ../index.html
|
cp index.html ../index.html
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
Reference in New Issue
Block a user