| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,14 +8,15 @@ on: | |||
| 8 | 8 | branches: [main] | |
| 9 | 9 | ||
| 10 | 10 | jobs: | |
| 11 | - build_devcontainer: | ||
| 12 | - name: Build and test (Devcontainer) | ||
| 11 | + build_dev_container: | ||
| 12 | + name: Build and test (Dev container) | ||
| 13 | 13 | strategy: | |
| 14 | 14 | fail-fast: false | |
| 15 | 15 | matrix: | |
| 16 | 16 | os: [ubuntu-latest, ubuntu-24.04-arm] | |
| 17 | 17 | runs-on: ${{ matrix.os }} | |
| 18 | 18 | env: | |
| 19 | + # Dummy tag; version does not matter. | ||
| 19 | 20 | TAG: cpython-devcontainer:1.0.0-${{ github.run_id }} | |
| 20 | 21 | steps: | |
| 21 | 22 | - name: Checkout Push to Registry action | |
@@ -28,10 +29,8 @@ jobs: | |||
| 28 | 29 | context: ./devcontainer | |
| 29 | 30 | load: true | |
| 30 | 31 | tags: ${{ env.TAG }} | |
| 31 | - - name: Test WASI SDK | ||
| 32 | - run: docker run --rm ${{ env.TAG }} /opt/wasi-sdk/bin/clang --version | ||
| 33 | - - name: Test Wasmtime | ||
| 34 | - run: docker run --rm ${{ env.TAG }} wasmtime --version | ||
| 32 | + - name: Test clang | ||
| 33 | + run: docker run --rm ${{ env.TAG }} clang --version | ||
| 35 | 34 | ||
| 36 | 35 | build_autoconf: | |
| 37 | 36 | name: Build and test (Autoconf) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,26 +3,15 @@ FROM docker.io/library/fedora:41 | |||
| 3 | 3 | LABEL org.opencontainers.image.base.name="docker.io/library/fedora:41" | |
| 4 | 4 | LABEL org.opencontainers.image.source="https://github.com/python/cpython-devcontainers" | |
| 5 | 5 | LABEL org.opencontainers.image.title="CPython development container" | |
| 6 | - LABEL org.opencontainers.image.description="CPython development container with the tooling to work on Linux or WASI builds." | ||
| 6 | + LABEL org.opencontainers.image.description="CPython development container with the tooling to work on Linux builds." | ||
| 7 | 7 | LABEL org.opencontainers.image.authors="Brett Cannon" | |
| 8 | 8 | ||
| 9 | - ARG TARGETARCH | ||
| 10 | - | ||
| 11 | 9 | ENV CC=clang | |
| 12 | 10 | ||
| 13 | 11 | # Remove a video codec repository to speed up installs. | |
| 14 | 12 | RUN dnf config-manager setopt fedora-cisco-openh264.enabled=False | |
| 15 | 13 | ||
| 16 | - # Update only after consulting with WASI support maintainers (see PEP 11). | ||
| 17 | - ENV WASI_SDK_VERSION=24 | ||
| 18 | - | ||
| 19 | - # Update as desired. | ||
| 20 | - ENV WASMTIME_VERSION=35.0.0 | ||
| 21 | - ENV WASMTIME_HOME=/opt/wasmtime | ||
| 22 | - | ||
| 23 | - | ||
| 24 | 14 | RUN mkdir -p /opt/cpython-devcontainer/bin | |
| 25 | - COPY --chmod=755 install-builddeps.sh install-wasi.sh /opt/cpython-devcontainer/bin/ | ||
| 15 | + COPY --chmod=755 install-builddeps.sh /opt/cpython-devcontainer/bin/ | ||
| 26 | 16 | ||
| 27 | 17 | RUN /opt/cpython-devcontainer/bin/install-builddeps.sh | |
| 28 | - RUN /opt/cpython-devcontainer/bin/install-wasi.sh | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,5 @@ | |||
| 1 | + A container for developing CPython for Linux. | ||
| 2 | + | ||
| 3 | + Various common utilities are included to make getting started easier. | ||
| 4 | + See https://devguide.python.org/getting-started/setup-building/#using-a-container | ||
| 5 | + for instructions on ways to use this container. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments