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
"""Represents an SSH agent or key to be used in the Dockerfile.
98
+
99
+
:type id: string
100
+
:cvar id: ID of the SSH agent or key. Defaults to 'default'.
101
+
:type target: string
102
+
:cvar target: The path where the SSH agent socket path in the container. Defaults to /run/buildkit/ssh_agent.{N} if not set.
103
+
:type required: bool
104
+
:cvar required: Flag to indicate if the SSH agent or key is required. The RUN instruction errors if the SSH agent or key is unavailable. Defaults to False.
105
+
:type mode: string
106
+
:cvar mode: The file mode for the SSH agent socket. Defaults to 0600 (octal).
107
+
:type uid: int
108
+
:cvar uid: The user ID for the SSH agent socket. Defaults to 0.
109
+
:type gid: int
110
+
:cvar gid: The group ID for the SSH agent socket. Defaults to 0.
111
+
"""
112
+
# Static field - keep track for unique (DEFAULT) target names
113
+
# Note: Meaningless if there is only one SSH agent per RUN instruction.
114
+
# Needs implementation change if we start supporting multiple SSH agents in the same RUN instruction. Depends on how that is done.
0 commit comments