From c41c07e4d07cd048c20298ac7a49c7d5b5f4cca5 Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Sun, 27 Mar 2022 10:42:25 -0400 Subject: [PATCH] (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 --- sandbox/run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 sandbox/run.sh diff --git a/sandbox/run.sh b/sandbox/run.sh new file mode 100755 index 00000000..74234e55 --- /dev/null +++ b/sandbox/run.sh @@ -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