-
Notifications
You must be signed in to change notification settings - Fork 858
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
Comments
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
希望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
The text was updated successfully, but these errors were encountered: