1 Star 0 Fork 6

-白鹤-/Kusion 云原生规模化运维引擎

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 587 Bytes
一键复制 编辑 原始数据 按行查看 历史
liu-hm19 提交于 2024-03-18 19:48 . feat: bump go version to 1.22 (#934)
FROM golang:1.22 AS build
COPY / /src
WORKDIR /src
RUN --mount=type=cache,target=/go/pkg --mount=type=cache,target=/root/.cache/go-build make build-local-linux
FROM ubuntu:22.04 AS base
# Install KCL Dependencies
RUN apt-get update -y && apt-get install python3 python3-pip -y
# KCL PATH
ENV PATH="/root/go/bin:${PATH}"
# KUSION
ENV KUSION_HOME="$HOME/.kusion"
ENV LANG=en_US.utf8
FROM base AS goreleaser
COPY kusion /usr/local/bin/kusion
RUN /usr/local/bin/kusion
FROM base
COPY --from=build /src/_build/bundles/kusion-linux/bin/kusion /usr/local/bin/kusion
RUN /usr/local/bin/kusion
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ruifunongye/kusion.git
[email protected]:ruifunongye/kusion.git
ruifunongye
kusion
Kusion 云原生规模化运维引擎
main

搜索帮助