https://github.com/python/cpython/commit/a4d1fdfb152c46e3e05aa6e91a44a9fd0323b632
commit: a4d1fdfb152c46e3e05aa6e91a44a9fd0323b632
branch: main
author: Donghee Na <[email protected]>
committer: corona10 <[email protected]>
date: 2024-09-26T12:58:15-07:00
summary:
gh-124612: Good bye dockerfile and use GHCR package (gh-124626)
files:
D .devcontainer/Dockerfile
M .devcontainer/devcontainer.json
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
deleted file mode 100644
index ada5fb0fe64dc2..00000000000000
--- a/.devcontainer/Dockerfile
+++ /dev/null
@@ -1,24 +0,0 @@
-FROM docker.io/library/fedora:40
-
-ENV CC=clang
-
-ENV WASI_SDK_VERSION=24
-ENV WASI_SDK_PATH=/opt/wasi-sdk
-
-ENV WASMTIME_HOME=/opt/wasmtime
-ENV WASMTIME_VERSION=22.0.0
-ENV WASMTIME_CPU_ARCH=x86_64
-
-RUN dnf -y --nodocs --setopt=install_weak_deps=False install
/usr/bin/{blurb,clang,curl,git,ln,tar,xz} 'dnf-command(builddep)' && \
- dnf -y --nodocs --setopt=install_weak_deps=False builddep python3 && \
- dnf -y clean all
-
-RUN mkdir ${WASI_SDK_PATH} && \
- curl --location
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
| \
- tar --strip-components 1 --directory ${WASI_SDK_PATH} --extract --gunzip
-
-RUN mkdir --parents ${WASMTIME_HOME} && \
- curl --location
"https://github.com/bytecodealliance/wasmtime/releases/download/v${WASMTIME_VERSION}/wasmtime-v${WASMTIME_VERSION}-${WASMTIME_CPU_ARCH}-linux.tar.xz"
| \
- xz --decompress | \
- tar --strip-components 1 --directory ${WASMTIME_HOME} -x && \
- ln -s ${WASMTIME_HOME}/wasmtime /usr/local/bin
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 0dc303015df5c7..64c85c1101e6e6 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,7 +1,5 @@
{
- "build": {
- "dockerfile": "Dockerfile"
- },
+ "image": "ghcr.io/python/devcontainer:2024.09.25.11038928730",
"onCreateCommand": [
// Install common tooling.
"dnf",
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]