diff --git a/share/examples/oci/Containerfile.pkg b/share/examples/oci/Containerfile.pkg --- a/share/examples/oci/Containerfile.pkg +++ b/share/examples/oci/Containerfile.pkg @@ -15,7 +15,7 @@ # use for downloading pkg since the freebsd-runtime image has both FreeBSD and # FreeBSD-base pkg repo configs installed and FreeBSD-base does not contain the # pkg package. -RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD && pkg update +RUN env ASSUME_ALWAYS_YES=yes sh -c "pkg bootstrap -r FreeBSD && pkg update" # Install some package(s). RUN pkg install -y ${packages}