-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathDockerfile.pydis
More file actions
14 lines (10 loc) · 733 Bytes
/
Dockerfile.pydis
File metadata and controls
14 lines (10 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This is a custom additional build of Snekbox that includes multiple Python versions.
# The Python versions are now pulled from pre-built images to reduce build time
# and complexity. The images are built in the python-builds repository.
ARG SNEKBOX_IMAGE=ghcr.io/python-discord/snekbox:latest
FROM ${SNEKBOX_IMAGE}
COPY --link --from=ghcr.io/python-discord/python-builds:3.13 /snekbin/ /snekbin/
COPY --link --from=ghcr.io/python-discord/python-builds:3.14 /snekbin/ /snekbin/
COPY --link --from=ghcr.io/python-discord/python-builds:3.14t /snekbin/ /snekbin/
COPY --link --from=ghcr.io/python-discord/python-builds:3.14j /snekbin/ /snekbin/
RUN rm /snekbin/python/default && ln -s /snekbin/python/3.14/ /snekbin/python/default