mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-05-04 22:16:34 +00:00
Bump steve and dashboard for Rancher v2.7.2
This commit is contained in:
parent
c1f5fda228
commit
8e592b1a3c
@ -1,28 +1,23 @@
|
|||||||
FROM golang:1.19
|
FROM registry.suse.com/bci/golang:1.19
|
||||||
|
|
||||||
ARG DAPPER_HOST_ARCH
|
ARG DAPPER_HOST_ARCH
|
||||||
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
|
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN zypper -n install ca-certificates git-core wget curl unzip tar vim less file xz
|
||||||
apt-get install -y ca-certificates git wget curl xz-utils && \
|
RUN zypper install -y -f docker
|
||||||
rm -f /bin/sh && ln -s /bin/bash /bin/sh && \
|
|
||||||
curl -sL https://github.com/upx/upx/releases/download/v4.0.2/upx-4.0.2-${ARCH}_linux.tar.xz | tar xvJf - --strip-components=1 -C /tmp && \
|
ENV UPX_VERSION 4.0.2
|
||||||
|
RUN curl -sL https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-${ARCH}_linux.tar.xz | tar xvJf - --strip-components=1 -C /tmp && \
|
||||||
mv /tmp/upx /usr/bin/
|
mv /tmp/upx /usr/bin/
|
||||||
|
|
||||||
RUN if [ "${ARCH}" == "amd64" ]; then \
|
RUN if [ "${ARCH}" == "amd64" ]; then \
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.49.0; \
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.49.0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ENV DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 \
|
ENV GIT_COMMIT="6906cf5ce850ae0bb51f286afaf3c10c5ff506af" \
|
||||||
DOCKER_URL_arm=https://github.com/rancher/docker/releases/download/v1.10.3-ros1/docker-1.10.3_arm \
|
|
||||||
DOCKER_URL_arm64=https://github.com/rancher/docker/releases/download/v1.10.3-ros1/docker-1.10.3_arm64 \
|
|
||||||
DOCKER_URL=DOCKER_URL_${ARCH}
|
|
||||||
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
|
|
||||||
|
|
||||||
ENV GIT_COMMIT="9052c76e5f978e34a531d0dd26bc77ed44bfe068" \
|
|
||||||
GIT_BRANCH="ke/v0.3" \
|
GIT_BRANCH="ke/v0.3" \
|
||||||
GIT_SOURCE=${GOPATH}/src/github.com/rancher/steve \
|
GIT_SOURCE=${GOPATH}/src/github.com/rancher/steve \
|
||||||
CATTLE_DASHBOARD_UI_VERSION="v2.7.1-kube-explorer-ui-rc2"
|
CATTLE_DASHBOARD_UI_VERSION="v2.7.2-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
|
||||||
|
Loading…
Reference in New Issue
Block a user