blob: 46a51684777967676e54e41881269f199649b433 (
plain) (
blame)
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
|