Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubevela增加Dockerfile的镜像 #6412

Open
flycentos opened this issue Dec 2, 2023 · 1 comment
Open

kubevela增加Dockerfile的镜像 #6412

flycentos opened this issue Dec 2, 2023 · 1 comment

Comments

@flycentos
Copy link

希望kubevela能够集成Dockerfile的修改,包括基础镜像及运行镜像,可参考如下:

Dockerfile

Dockerfile

FROM golang:1.13-rc-alpine3.10 as builder
WORKDIR /app
COPY main.go .
RUN go build -o kubevela-demo-cicd-app main.go

FROM alpine:3.10
WORKDIR /app
COPY --from=builder /app/kubevela-demo-cicd-app /app/kubevela-demo-cicd-app
ENTRYPOINT ./kubevela-demo-cicd-app
EXPOSE 8088

@chivalryq
Copy link
Member

Why do we need this? Can you provide a use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants