Compare commits

...

6 Commits

Author SHA1 Message Date
niusmallnan
e986d891ef Bump steve based on rancher 2.6.5-rc8 2022-05-07 14:12:57 +08:00
niusmallnan
0857f01c77 Bump steve for formatting cluster display name by strings.Title 2022-02-09 16:35:17 +08:00
niusmallnan
ec1152aba1 UPX is not required 2022-02-09 16:28:35 +08:00
niusmallnan
5846ee6155 Bump steve for formatting cluster display name 2022-02-09 16:06:19 +08:00
niusmallnan
3e9b2fe7f5 Update readme [CI SKIP] 2022-02-08 17:59:10 +08:00
niusmallnan
c4e05aa13d Add GIF record [CI SKIP] 2022-02-07 14:35:15 +08:00
4 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.16
FROM golang:1.17
ARG DAPPER_HOST_ARCH
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
@@ -19,7 +19,7 @@ ENV DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 \
DOCKER_URL=DOCKER_URL_${ARCH}
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
ENV GIT_COMMIT="18f619f9df6db5cb6dc3d18c1e89121d0243e754" \
ENV GIT_COMMIT="62d6de019d8e82af5194c2e810e336eb03aa1bd6" \
GIT_BRANCH="ke/v0.2" \
GIT_SOURCE="/go/src/github.com/rancher/steve" \
CATTLE_DASHBOARD_UI_VERSION=v2.6.3-kube-explorer-ui-rc2

View File

@@ -6,7 +6,7 @@ It integrates the Rancher steve framework and its dashboard, and is recompiled,
## Usage ✅
Please download the binary from the [release page](https://github.com/niusmallnan/kube-explorer/releases).
Please download the binary from the [release page](https://github.com/cnrancher/kube-explorer/releases).
To run an HTTP only server:
@@ -16,6 +16,8 @@ To run an HTTP only server:
Then, open the browser to visit http://x.x.x.x:9898 .
![](docs/assets/kube-explorer-record.gif)
## Build ✅
To debug on an AMD64 Linux host:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 KiB

View File

@@ -40,7 +40,13 @@ else
fi
for f in $(ls ./bin/); do
upx -o $DAPPER_SOURCE/bin/$f bin/$f
upx -o $DAPPER_SOURCE/bin/$f bin/$f || true
if [ -f $DAPPER_SOURCE/bin/$f ]; then
echo "UPX done!"
else
echo "Copy origin file as UPX failed!!!"
cp bin/$f $DAPPER_SOURCE/bin/$f
fi
done
popd