Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132016598
D50596.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
901 B
Referenced Files
None
Subscribers
None
D50596.diff
View Options
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
@@ -6,7 +6,7 @@
ARG version=14.snap
# Select freebsd-runtime as our starting point.
-FROM localhost/freebsd-runtime:${version}
+FROM ghcr.io/freebsd/freebsd-runtime:${version}
# A list of package(s) to install
ARG packages
@@ -15,7 +15,10 @@
# 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
+#
+# Set IGNORE_OSVERSION to allow building e.g. FreeBSD-14 images on
+# FreeBSD-15 hosts.
+RUN pkg bootstrap -y -r FreeBSD && pkg -o IGNORE_OSVERSION=yes update -f
# Install some package(s).
RUN pkg install -y ${packages}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 13, 11:43 PM (12 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20974893
Default Alt Text
D50596.diff (901 B)
Attached To
Mode
D50596: release: Make sure 'pkg update' is run with ASSUME_ALWAYS_YES set
Attached
Detach File
Event Timeline
Log In to Comment