Compare commits

..

1 Commits

Author SHA1 Message Date
github-actions[bot]
3ab0b503c5 Fix: docker file fail to build for vela cli (#4465)
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
(cherry picked from commit 62fcb152e2)

Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-07-25 22:45:13 +08:00
2 changed files with 3 additions and 4 deletions

View File

@@ -39,6 +39,5 @@ RUN apk add --no-cache ca-certificates bash expat
WORKDIR /
ARG TARGETARCH
COPY --from=builder /workspace/vela-${TARGETARCH} /vela
COPY /vela /bin/
ENTRYPOINT ["/vela"]
COPY --from=builder /workspace/vela-${TARGETARCH} /bin/vela
ENTRYPOINT ["/bin/vela"]

View File

@@ -10,7 +10,7 @@ spec:
type: webservice
properties:
image: oamdev/vela-cli:v1.5.0-beta.1
cmd: ["/vela","show"]
cmd: ["/bin/vela","show"]
ports:
- port: 18081
expose: true