aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile (follow)
Commit message (Collapse)AuthorAgeLines
* Add new build steps for 3.14.0 with JITGravatar Joe Banks7 days-0/+14
|
* Update numpy version used for integration tests in CIGravatar Joe Banks10 days-1/+1
|
* Update Python versions, add 3.14t, remove 3.13t and default to 3.14Gravatar Joe Banks10 days-7/+6
|
* Remove --with-system-expat from Python build argumentsGravatar Joe Banks11 days-1/+1
| | | | This seemed to be causing an error with the test_xml_etree_c test.
* Update pyenv to 2.6.9Gravatar Joe Banks11 days-1/+1
| | | Brings support for newer Python versions
* Update to use 3.14 releaseGravatar Joe Banks11 days-1/+1
|
* Revert "Update to use 3.14 release" and "Update pyenv to 2.6.9"Gravatar Joe Banks11 days-2/+2
| | | | | | | | This reverts commit c7fae913df7c186ea12467b10afb56b2d00c71a7 and b7e0aeca1ebeab72fd47c7cc41b54a45542406e9. 3.14.0 was unable to build in CI so reverting ahead of a PR that adds this new version with some additional testing.
* Update pyenv to 2.6.9Gravatar Joe Banks11 days-1/+1
| | | Brings support for newer Python versions
* Update to use 3.14 releaseGravatar Joe Banks11 days-1/+1
|
* Add comment to explain why 3.13t can't be bumped yetGravatar Chris Lovering2025-07-30-0/+1
|
* Upgrade Python within snadbox to latest 3.13 & 3.14 versionsGravatar Chris Lovering2025-07-30-2/+2
|
* Upgrade pyenv to 2.6.5 for access to latest Python versionsGravatar Chris Lovering2025-07-30-1/+1
|
* Pin 3.14 version to beta-2Gravatar Chris Lovering2025-05-31-2/+2
|
* Bump numpy version installed in dev to one that works for 3.13Gravatar Chris Lovering2025-05-17-1/+1
|
* Remove 3.12 in favour of 3.14-devGravatar Chris Lovering2025-05-17-4/+4
|
* Bump 3.13 to 3.13.2 and make the defaultGravatar Chris Lovering2025-05-17-4/+4
| | | | | | 3.13.3 has a bug with tests. This is fixed on the 3.13 dev branch, so will likely be part of 3.13.4 See this commit for more info https://github.com/python/cpython/commit/cc39b19f0fca8db0f881ecaf02f88d72d9f93776
* Consistent capitalisation in dockerfileGravatar Chris Lovering2025-05-17-7/+7
|
* Bump builder base from 3.12 to 3.13Gravatar Chris Lovering2024-12-21-1/+1
|
* Remove PYTHON_CONFIGURE_OPTS overrides now that the bug is fixed in 3.13t ↵Gravatar Chris Lovering2024-12-21-4/+0
| | | | building
* Bump pyenv to v2.4.23 for 3.13.1 & 3.12.8 supportGravatar Chris Lovering2024-12-21-4/+4
|
* Bump up to stable versions of Python 3.13 and 3.13t (#221)Gravatar ChrisJL2024-10-12-3/+3
|
* Ensure Python versions ending in t are installed to a dir ending in tGravatar Chris Lovering2024-10-07-1/+0
| | | | The t denotes that it is a free threading version of Python, so could potentially be installed along side a non-free-threaded version of Python
* Also install 3.13tGravatar Chris Lovering2024-10-07-0/+9
| | | | | This is a free threaded version of python https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython
* Bump 3.12 to 3.12.7 from 3.12.5Gravatar Chris Lovering2024-10-07-1/+1
|
* Update all references to /lang to /snekbinGravatar Chris Lovering2024-10-03-4/+4
|
* Add Python 3.12.0rc3 supportGravatar Chris Lovering2024-10-03-1/+5
|
* Move pyenv clone to builder-py-base imageGravatar Chris Lovering2024-10-03-2/+3
| | | | This means when building multiple python versions this repo is only cloned once
* Bump snekbox container to 3.12.5Gravatar Chris Lovering2024-08-28-2/+2
|
* Bump the docker-dependencies group with 1 updateGravatar dependabot[bot]2024-04-08-1/+1
| | | | | | | | | | | | | | | Bumps the docker-dependencies group with 1 update: python. Updates `python` from 3.11-slim-bookworm to 3.12-slim-bookworm --- updated-dependencies: - dependency-name: python dependency-type: direct:production dependency-group: docker-dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
* Bump snekbox up to Python 3.12.2Gravatar Chris Lovering2024-03-14-2/+2
| | | | pyenv 2.3.36 added support for 3.12.2, it also happens to be the latest version as of writing.
* Remove Python 3.13 from imageGravatar Mark2023-11-05-5/+0
| | | | | It seems to be unstable in terms of whether the build or tests will succeed.
* Replace 3.11 support with 3.13-devGravatar Chris Lovering2023-10-02-7/+5
|
* Use 3.12.0 by defaultGravatar Chris Lovering2023-10-02-1/+1
|
* Use 3.12.0 over 3.12.0rc2 for 3.12 supportGravatar Chris Lovering2023-10-02-2/+2
|
* Update to Debian BookwormGravatar Mark2023-09-15-4/+4
| | | | | | | | | | | Mount /dev/shm in the container by setting ipc to "private". This is the same as "none" (the previous value) with the only difference being that shm is mounted. This is needed for integration tests to pass. The integration tests always relied on shared memory due to their use of multiprocessing. They managed to work because glibc used to fall back to /tmp if /dev/shm wasn't available. However, newer versions of glibc, which Debian Bookworm now uses, removed that fallback behaviour.
* Bump python versions used by snekbox to latestGravatar Chris Lovering2023-09-11-4/+4
| | | | | | 3.11.5 requires at least pyenv 2.3.25, so bumped to latest (2.3.26) for good measure anyway. 3.12.0rc2 requires pyenv 2.3.25
* Include install eval deps in final image (#191)Gravatar ChrisJL2023-08-31-0/+1
|
* Fix numpy install for testGravatar Mark2023-08-19-1/+1
| | | | Need to use `export` to set vars when && is used between the commands.
* Use --link with COPY in DockerfileGravatar Mark2023-08-19-7/+7
| | | | | | | | Re-use already built COPY layers in subsequent builds even if the previous layers have changed, which is especially helpful when copying from another build stage. See https://docs.docker.com/engine/reference/builder/#copy---link
* Install multiple Python versions in imageGravatar Mark2023-08-19-11/+36
| | | | | | | | Separate snekbox's Python interpreter from the interpreter used by NsJail. This allows for the interpreters to be updated on different cadences and provides better isolation of packages. Each Python interpreter adds about 70 MB to the built image.
* Use buildpack-deps as the builder base imageGravatar Mark2023-08-07-9/+6
| | | | | Get some of the NsJail build dependencies pre-installed thanks to the base image.
* Remove explicit package versions from DockerfileGravatar Mark2023-08-07-14/+14
| | | | | It's using a stable version of Debian, so it's redundant to lock packages to specific versions.
* Bump Python To 3.11Gravatar Hassan Abouelela2022-10-31-2/+2
| | | | | | | Upgrade build image, configuration files, and documentation to python 3.11. Signed-off-by: Hassan Abouelela <[email protected]>
* Remove unneeded backslash in DockerfileGravatar Chris Lovering2022-08-14-1/+1
|
* Fix typo in Dockerfile commentGravatar Mark2022-06-01-1/+1
| | | Co-authored-by: Matteo Bertucci <[email protected]>
* Docker: install package in image and use version to tag itGravatar MarkKoz2022-05-31-9/+10
|
* Specify wsgi_app in Gunicorn configGravatar MarkKoz2022-05-30-1/+1
|
* Remove redundant module for creating the WSGI appGravatar MarkKoz2022-05-30-1/+1
|
* Deps: use pip-tools instead of PipenvGravatar MarkKoz2022-05-29-11/+7
| | | | | | | | | | | | | Pipenv was limited to only "normal" and "dev" dependencies. pip-tools is more flexible, since each requirements file can be constrained by more than one other requirements file. This means CI can choose to only install coverage deps in the test job and linting deps in the lint job, but these dependencies will still be constrained by each other and by other requirements, so a developer will be able to install both sets simultaneously without conflicts. Use a Makefile to make up for the loss of Pipenv's scripts functionality.
* Disable pip version checks in the Docker imageGravatar MarkKoz2021-12-21-0/+1
|