We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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的修改,包括基础镜像及运行镜像,可参考如下:
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:
Why do we need this? Can you provide a use case?
Sorry, something went wrong.
No branches or pull requests
希望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: