diff --git a/Dockerfile b/Dockerfile index 783065e..c042887 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ -FROM debian:bookworm-slim +FROM debian:bookworm-slim as builder ARG TARGETARCH -LABEL org.opencontainers.image.source https://github.com/jumpserver/web-static - RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends wget ca-certificates \ @@ -61,3 +59,6 @@ RUN set -ex \ && wget -qO JumpServer-Client-Installer-arm64.dmg https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-mac-${Client_VERSION}-arm64.dmg \ && wget -qO JumpServer-Client-Installer-amd64.deb https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-linux-${Client_VERSION}-amd64.deb \ && wget -qO JumpServer-Client-Installer-arm64.deb https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-linux-${Client_VERSION}-arm64.deb + +FROM scratch +COPY --from=builder /opt /opt \ No newline at end of file diff --git a/VERSION b/VERSION index e04e39c..992977a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.0.9 +v1.1.0 \ No newline at end of file