Skip to content

Commit 3af6bb7

Browse files
committed
Instruct fissile to use --network=host when building packages
otherwise we get errors because "localhost" can't be resolved to "127.0.0.1"
1 parent 234a1c0 commit 3af6bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-recipe-fissile

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ recipe_build_fissile() {
9797
ln -fs /usr/sbin/runc $BUILD_ROOT/usr/bin/docker-runc
9898

9999
echo "Building packages with fissile"
100-
if ! chroot $BUILD_ROOT /bin/bash -c "cd $TOPDIR/SOURCES/release && . .envrc && fissile build packages"; then
100+
if ! chroot $BUILD_ROOT /bin/bash -c "cd $TOPDIR/SOURCES/release && . .envrc && fissile build packages --docker-network-mode host"; then
101101
cleanup_and_exit 1 "fissile build packages failed"
102102
fi
103103

0 commit comments

Comments
 (0)