Last active 1762701050

Containerfile Raw
1FROM docker.io/freebsd/freebsd-runtime:14.3
2RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD
3RUN pkg update -q
4RUN pkg install -qy FreeBSD-openssl
5RUN pkg upgrade -qy
6RUN pkg install -qy lang/python3
7entrypoint /usr/local/bin/python3 -m http.server
README.md Raw
# podman build --no-hosts -t localhost/test .

STEP 1/7: FROM docker.io/freebsd/freebsd-runtime:14.3
Trying to pull docker.io/freebsd/freebsd-runtime:14.3...
Getting image source signatures
Copying blob b062b709ea99 skipped: already exists
Copying config 786f2592a8 done   |
Writing manifest to image destination
STEP 2/7: RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD
[11ad81a67578] Installing pkg-2.3.1_1...
[11ad81a67578] Extracting pkg-2.3.1_1: .......... done
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
--> 471b2cdbeda3
STEP 3/7: RUN pkg update  -q
--> e7bdf387547e
STEP 4/7: RUN pkg install -qy FreeBSD-openssl
--> d43a97933d48
STEP 5/7: RUN pkg upgrade -qy
--> 78d1615b9216
STEP 6/7: RUN pkg install -qy lang/python3
=====
Message from python311-3.11.13_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
--> 0b3a56f6b578
STEP 7/7: entrypoint /usr/local/bin/python3 -m http.server
COMMIT localhost/test
--> a85d3d2a9d9f
Successfully tagged localhost/test:latest
a85d3d2a9d9f8ef74e198e71577c902380742139ff36d26f416b3348d5a95de6
# podman run -it --rm localhost/test:latest
Serving HTTP on :: port 8000 (http://[::]:8000/) ...
^c