Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
perf: 优化构建
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Mar 29, 2024
1 parent 7ee7d16 commit 28e68e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.9
v1.1.0

0 comments on commit 28e68e1

Please sign in to comment.