We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 410e5ba commit 930371bCopy full SHA for 930371b
1 file changed
.devcontainer/postStartCommand.sh
@@ -3,6 +3,12 @@
3
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
"$SCRIPT_DIR/refreshTools.sh"
5
6
+# Check if SNAPSHOT_SAS_URL was passed, if so run hydrate.sh in background
7
+if [ -n "$SNAPSHOT_SAS_URL" ]; then
8
+ WORKSPACE_DIR="/workspaces/spark-template"
9
+ SAS_URI="$SNAPSHOT_SAS_URL" /usr/local/bin/hydrate.sh $WORKSPACE_DIR
10
+fi
11
+
12
sudo cp .devcontainer/spark.conf /etc/supervisor/conf.d/
13
14
sudo chown node /var/run/
0 commit comments