You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile.let
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ ARG USERID=1000
19
19
ARG GROUPID=1000
20
20
21
21
# Setup a user mirroring the main one
22
-
RUN if [[ -z "$(cat /etc/group | grep ':20:')" ]]; then addgroup --gid $GROUPID brane && export GROUP=brane else export GROUP=$(getent group $GROUPID | cut -d: -f1); fi
22
+
RUN if [[ ! "$(getent group $GROUPID)" ]]; then addgroup --gid $GROUPID brane && export GROUP=brane else export GROUP=$(getent group $GROUPID | cut -d: -f1); fi
23
23
RUN adduser --uid $USERID --gid $GROUPID --gecos "Brane" --disabled-password brane
/// - `vm`: The [`VirtualMachine`] that we execute with. This determines which backend to use.
1343
1343
/// - `workflow`: The compiled workflow to execute.
1344
1344
/// - `prints`: A newly allocated string which represents any stdout- or stderr prints done during workflow execution. Will be [`NULL`] if there is an error (see below).
1345
-
/// - `result`: A [`FullValue`] which represents the return value of the workflow. Will be [`NULL`] if there is an error (see below).
1345
+
/// - `result`: A [`FullValue`] which represents the return value of the workflow, and a [`ProgramCounter`] that denotes which instruction produced it (or [`None`] if the workflow was empty). Will be [`NULL`] if there is an error (see below).
1346
1346
///
1347
1347
/// # Returns
1348
1348
/// An [`Error`]-struct that contains the error occurred, or [`NULL`] otherwise.
/// - `profile`: If given, prints the profile timings to stdout if reported by the remote.
129
129
///
130
130
/// # Returns
131
-
/// A [`FullValue`] carrying the result of the snippet (or [`FullValue::Void`]).
131
+
/// A [`FullValue`] carrying the result of the snippet (or [`FullValue::Void`]), and a [`ProgramCounter`] in case a [`FullValue::Data`] is returned telling us which edge downloaded it.
132
132
///
133
133
/// # Errors
134
134
/// This function may error if anything in the whole shebang crashed. This can be things client-side, but also remote-side.
0 commit comments