forked from python/cpython-devcontainers
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (14 loc) · 767 Bytes
/
Dockerfile
File metadata and controls
20 lines (14 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ghcr.io/python/devcontainer:latest
LABEL org.opencontainers.image.base.name="ghcr.io/python/wasicontainer:latest"
LABEL org.opencontainers.image.source="https://github.com/python/cpython-devcontainers"
LABEL org.opencontainers.image.title="CPython WASI development container"
LABEL org.opencontainers.image.description="CPython development container with the tooling to work on WASI builds."
LABEL org.opencontainers.image.authors="Brett Cannon"
ARG TARGETARCH
# WASI SDK versions are controlled in install-wasi.sh.
ENV WASI_SDK_ROOT=/opt
ENV WASMTIME_VERSION=36.0.2
ENV WASMTIME_HOME=/opt/wasmtime
RUN mkdir -p /opt/cpython-devcontainer/bin
COPY --chmod=755 install-wasi.sh /opt/cpython-devcontainer/bin/
RUN /opt/cpython-devcontainer/bin/install-wasi.sh