Fix: docker file fail to build for vela cli (#4464)

Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
Jianbo Sun
2022-07-25 22:44:26 +08:00
committed by GitHub
parent 70eb639ba7
commit 24c6514874
2 changed files with 3 additions and 4 deletions
+2 -3
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"]
@@ -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