这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions image/Prebuilt.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# is mainly used to build the preview / release container images in
# GitHub actions

# Retrieve the certificates to install runtimes later on.
FROM --platform=$TARGETPLATFORM bitnami/minideb:latest AS certs
RUN install_packages ca-certificates

# Build the final image
FROM --platform=$TARGETPLATFORM scratch
ARG TARGETPLATFORM
Expand All @@ -10,6 +14,7 @@ LABEL org.opencontainers.image.source=https://github.com/vmware-labs/wasm-worker
LABEL org.opencontainers.image.description="Wasm Workers Server is a blazing-fast self-contained server that routes HTTP requests to workers in your filesystem. Everything run in a WebAssembly sandbox."
LABEL org.opencontainers.image.licenses="Apache-2.0"

COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --chmod=755 ./wws-$TARGETARCH /wws

CMD ["/wws", "/app/", "--host", "0.0.0.0"]
Expand Down