Files
higress/plugins/wasm-cpp/Dockerfile
澄潭 f7a419770d upgrade to istio 1.19 (#1211)
Co-authored-by: CH3CHO <ch3cho@qq.com>
Co-authored-by: rinfx <893383980@qq.com>
2024-08-26 09:51:47 +08:00

16 lines
406 B
Docker

ARG BUILDER=higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/build-tools-proxy:release-1.19-ef344298e65eeb2d9e2d07b87eb4e715c2def613
FROM $BUILDER as builder
ARG PLUGIN_NAME
WORKDIR /workspace
COPY . .
RUN bazel build //extensions/$PLUGIN_NAME:$PLUGIN_NAME.wasm
FROM scratch as output
ARG PLUGIN_NAME
COPY --from=builder /workspace/bazel-bin/extensions/$PLUGIN_NAME/$PLUGIN_NAME.wasm plugin.wasm