diff --git a/compiled_starters/python/codecrafters.yml b/compiled_starters/python/codecrafters.yml index 7ff8fea..ec2956e 100644 --- a/compiled_starters/python/codecrafters.yml +++ b/compiled_starters/python/codecrafters.yml @@ -7,5 +7,5 @@ debug: false # Use this to change the Python version used to run your code # on Codecrafters. # -# Available versions: python-3.11 -language_pack: python-3.11 +# Available versions: python-3.12 +language_pack: python-3.12 diff --git a/dockerfiles/python-3.12.Dockerfile b/dockerfiles/python-3.12.Dockerfile new file mode 100644 index 0000000..59ccedf --- /dev/null +++ b/dockerfiles/python-3.12.Dockerfile @@ -0,0 +1,8 @@ +FROM python:3.12-alpine + +RUN apk add --no-cache 'curl>=7.66' + +# Download docker-explorer. +ARG docker_explorer_version=v18 +RUN curl --fail -Lo /usr/local/bin/docker-explorer https://github.com/codecrafters-io/docker-explorer/releases/download/${docker_explorer_version}/${docker_explorer_version}_linux_amd64 +RUN chmod +x /usr/local/bin/docker-explorer diff --git a/solutions/python/01-init/code/codecrafters.yml b/solutions/python/01-init/code/codecrafters.yml index 7ff8fea..ec2956e 100644 --- a/solutions/python/01-init/code/codecrafters.yml +++ b/solutions/python/01-init/code/codecrafters.yml @@ -7,5 +7,5 @@ debug: false # Use this to change the Python version used to run your code # on Codecrafters. # -# Available versions: python-3.11 -language_pack: python-3.11 +# Available versions: python-3.12 +language_pack: python-3.12 diff --git a/starter_templates/codecrafters.yml b/starter_templates/codecrafters.yml index 4db5f8b..991496d 100644 --- a/starter_templates/codecrafters.yml +++ b/starter_templates/codecrafters.yml @@ -8,8 +8,8 @@ debug: false # on Codecrafters. # {{# language_is_python }} -# Available versions: python-3.11 -language_pack: python-3.11 +# Available versions: python-3.12 +language_pack: python-3.12 {{/ language_is_python }} {{# language_is_swift }} # Available versions: swift-5.6