You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of my internship at VIB I'm working a Dodona judge for Docker.
So far the most challenging part was building the Dockerfiles inside of the container where the judge is run. After trying multiple solutions (Docker in Docker, Podman in Docker and buildah) I've settled on kaniko. The advantage of using kaniko is that it doesn't require any modifications to how Dodona runs containers, unlike the other solutions it doesn't need a more privileged container. The kaniko executable itself should be executed as root, for testing purposes I've added sudo to the container and replaced the executable with a script that calls the original using sudo. This way it's transparent to the judge itself.
I would appreciate any input on how to improve this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As part of my internship at VIB I'm working a Dodona judge for Docker.
So far the most challenging part was building the Dockerfiles inside of the container where the judge is run. After trying multiple solutions (Docker in Docker, Podman in Docker and buildah) I've settled on kaniko. The advantage of using kaniko is that it doesn't require any modifications to how Dodona runs containers, unlike the other solutions it doesn't need a more privileged container. The kaniko executable itself should be executed as root, for testing purposes I've added sudo to the container and replaced the executable with a script that calls the original using sudo. This way it's transparent to the judge itself.
I would appreciate any input on how to improve this.
The code can be found here: https://github.com/Bond-009/judge-docker/tree/stable
Beta Was this translation helpful? Give feedback.
All reactions