mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
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:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user