Skip to content

Commit 0423c23

Browse files
committed
Allow docker access in archiver plugin
1 parent 0af509b commit 0423c23

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ let package = Package(
5555
verb: "archive",
5656
description:
5757
"Archive the Lambda binary and prepare it for uploading to AWS. Requires docker on macOS or non Amazonlinux 2 distributions."
58-
)
58+
),
59+
permissions: [
60+
.allowNetworkConnections(scope: .docker, reason: "The archiver plugin needs docker to build the executable that can be run in AWS Lambda.")
61+
]
5962
)
6063
),
6164
.testTarget(

0 commit comments

Comments
 (0)