Skip to content

Commit

Permalink
增加在线终端
Browse files Browse the repository at this point in the history
  • Loading branch information
MR5356 committed Jan 11, 2024
1 parent 3f74665 commit 30eae36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Dockerfile-bin
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ RUN go mod download

COPY elune-backend .
COPY --from=node-builder /build/dist pkg/server/static
RUN GOOS=linux GOARCH=amd64 make build-bin && chmod +x bin/* && tar zcvf bin/elune-backend-linux-amd64.tar.gz bin/elune-backend-linux-amd64 && \
GOOS=linux GOARCH=arm64 make build-bin && chmod +x bin/* && tar zcvf bin/elune-backend-linux-arm64.tar.gz bin/elune-backend-linux-arm64 && \
GOOS=darwin GOARCH=amd64 make build-bin && chmod +x bin/* && tar zcvf bin/elune-backend-darwin-amd64.tar.gz bin/elune-backend-darwin-amd64 && \
GOOS=darwin GOARCH=arm64 make build-bin && chmod +x bin/* && tar zcvf bin/elune-backend-darwin-arm64.tar.gz bin/elune-backend-darwin-arm64
# GOOS=windows GOARCH=amd64 make build-bin && upx --best bin/elune-backend-windows-amd64 -o bin/elune-backend-windows-amd64-upx && \
# chmod +x bin/*
RUN GOOS=linux GOARCH=amd64 make build-bin && chmod +x bin/elune-backend-linux-amd64 && tar zcvf bin/elune-backend-linux-amd64.tar.gz bin/elune-backend-linux-amd64 && \
GOOS=linux GOARCH=arm64 make build-bin && chmod +x bin/elune-backend-linux-arm64 && tar zcvf bin/elune-backend-linux-arm64.tar.gz bin/elune-backend-linux-arm64 && \
GOOS=darwin GOARCH=amd64 make build-bin && chmod +x bin/elune-backend-darwin-amd64 && tar zcvf bin/elune-backend-darwin-amd64.tar.gz bin/elune-backend-darwin-amd64 && \
GOOS=darwin GOARCH=arm64 make build-bin && chmod +x bin/elune-backend-darwin-arm64 && tar zcvf bin/elune-backend-darwin-arm64.tar.gz bin/elune-backend-darwin-arm64 && \
GOOS=windows GOARCH=amd64 make build-bin && tar zcvf bin/elune-backend-windows-amd64.tar.gz bin/elune-backend-windows-amd64 && \
GOOS=windows GOARCH=arm64 make build-bin && tar zcvf bin/elune-backend-windows-arm64.tar.gz bin/elune-backend-windows-arm64

FROM scratch
COPY --from=go-builder /build/bin /
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ elune一站式运维工具平台
* 运维管理看板
* 系统管理看板
* K8s集群管理(支持新增K8s集群)
* 主机/虚拟机管理(支持新增主机/虚拟机/主机组/虚拟机组)
* 主机/虚拟机管理(支持新增主机/虚拟机/主机组/虚拟机组,支持在线终端
* 脚本管理,支持远程执行、定时执行(支持多主机执行/按主机组执行)
* 计划任务管理(支持启用/禁用定时任务,查看定时任务执行记录)
* 通知管理(当前支持飞书webhook通知插件,支持添加消息通道、发送测试消息)
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -uex
BRANCH=develop
VERSION=v1.1.0-dev
VERSION=v1.1.0-dev_build.1

rm -rf out

Expand Down

0 comments on commit 30eae36

Please sign in to comment.