We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b291e6b + 317d56c commit bac3b7dCopy full SHA for bac3b7d
Dockerfile
@@ -1,4 +1,7 @@
1
FROM scratch
2
3
+# Copies the update scripts to the app subdirectory to allow for future use of
4
+# other subdirectories.
5
WORKDIR /app
6
+COPY ./entry.sh ./entry.sh
7
COPY ./upgrade-2.x.sh ./upgrade-2.x.sh
entry.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Optional wrapper to execute a host OS update. This wrapper provides a fixed
+# entry point for Supervisor managed OS updates, allowing us to change the working
+# script as the host update process evolves without altering how the Supervisor
+# starts the update.
+#
8
+# Runs the working script in the current process with the arguments provided to
9
+# this script.
10
+exec ./upgrade-2.x.sh "$@"
0 commit comments