sudo build needs host network (rootful podman)
This commit is contained in:
@@ -10,6 +10,7 @@ build() {
|
||||
--pull \
|
||||
--layers \
|
||||
--format oci \
|
||||
--network=host \
|
||||
.
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
@@ -31,6 +32,7 @@ mkImage() {
|
||||
-it \
|
||||
--privileged \
|
||||
--pull=newer \
|
||||
--network=host \
|
||||
--security-opt label=type:unconfined_t \
|
||||
-v ./config.toml:/config.toml:ro \
|
||||
-v ./output:/output \
|
||||
|
||||
Reference in New Issue
Block a user