-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for isolate v2 #112
Conversation
You might also want to merge changes from |
Think we can YOLO this one for now ^^ |
@@ -51,7 +38,7 @@ RUN scripts/install_tools.sh | |||
RUN go generate && go build -tags production -o kjudge cmd/kjudge/main.go | |||
|
|||
# Stage 3: Create awesome output image | |||
FROM base-ubuntu | |||
FROM ghcr.io/minhnhatnoe/isolate:v2.1.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO put this somewhere centralized alongside other versioned stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:yolo:
On startup, check for the isolate daemon's status (or run the daemon as a goroutine if in docker container). Processes in the container's root cgroup will be moved to the subgroup /daemon by the custom isolate.