aboutsummaryrefslogtreecommitdiffstats
path: root/.dockerignore (follow)
Commit message (Collapse)AuthorAgeLines
* Install multiple Python versions in imageGravatar Mark2023-08-19-1/+1
| | | | | | | | 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.
* Docker: install package in image and use version to tag itGravatar MarkKoz2022-05-31-2/+6
|
* Add a pyproject.tomlGravatar MarkKoz2022-05-30-0/+1
|
* Deps: use pip-tools instead of PipenvGravatar MarkKoz2022-05-29-2/+1
| | | | | | | | | | | | | 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.
* Move snekbox.cfg to a config directoryGravatar MarkKoz2020-03-23-1/+1
| | | | | There will be more config files to come so it's cleaner to have them together than littering the root directory with more files.
* Mount only what's needed in the chroot jailGravatar MarkKoz2019-12-28-1/+1
| | | | | | | | | | | | devfs and sysfs were problematic since they were being mounted as tmpfs, which is r/w. For example, the Python process could write to cgroups. Now, only what is needed to run Python gets mounted. This boils down to the venv itself and some shared libraries Python needs. * Use a config file for NsJail instead of command-line options * Map 65534 (nobody) user & group inside the user namespace to 65534 outside the namespace rather than mapping to current uid/guid (which was 0 AKA root)
* Add NsJail alias and switch to ashGravatar MarkKoz2019-06-22-0/+1
|
* Add support for development to Docker imagesGravatar MarkKoz2019-06-22-0/+1
| | | | | | | * Venv image can sync dev dependencies * Copy tests to image * Add a Pipenv script for running a development shell in a container * Add Pipenv scripts for building dev images
* Exlcude everything, then make exceptions in dockerignoreGravatar MarkKoz2019-05-13-18/+8
|
* Add Azure CI. (#16)Gravatar scragly2019-03-29-1/+0
| | | | | This PR is to add CI settings to master and to test the PR CI pipeline.
* POC completedGravatar Christopher Baklid2018-05-23-0/+4
|
* adds webapp and docker-compose for more proof of conceptGravatar Christopher Baklid2018-05-22-0/+15