(core) add missing sandbox/run.sh script

Summary:
Adds a small missing script now used in core docker
container to create a python3 gvisor checkpoint on startup.

Test Plan: manual

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: georgegevoian

Differential Revision: https://phab.getgrist.com/D3340
This commit is contained in:
Paul Fitzpatrick 2022-03-27 10:42:25 -04:00
parent 4ce492b9e5
commit c41c07e4d0

10
sandbox/run.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
set -e
if [[ "$GRIST_SANDBOX_FLAVOR" = "gvisor" ]]; then
./sandbox/gvisor/update_engine_checkpoint.sh
source ./sandbox/gvisor/get_checkpoint_path.sh
fi
exec yarn run start:prod