dch revised this gist . Go to revision
2 files changed, 2 insertions, 2 deletions
Containerfile
@@ -1,4 +1,4 @@ | |||
1 | - | FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
1 | + | FROM docker.io/freebsd/freebsd-runtime:14.2 | |
2 | 2 | RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD | |
3 | 3 | RUN pkg update -q | |
4 | 4 | RUN pkg install -qy FreeBSD-openssl |
README.md
@@ -1,6 +1,6 @@ | |||
1 | 1 | ``` | |
2 | 2 | # podman build --no-hosts -t localhost/test . | |
3 | - | STEP 1/7: FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
3 | + | STEP 1/7: FROM docker.io/freebsd/freebsd-runtime:14.2 | |
4 | 4 | STEP 2/7: RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD | |
5 | 5 | [01d3a964c584] Installing pkg-2.1.0... | |
6 | 6 | [01d3a964c584] Extracting pkg-2.1.0: .......... done |
dch revised this gist . Go to revision
1 file changed, 0 insertions, 0 deletions
_README.md renamed to README.md
File renamed without changes
dch revised this gist . Go to revision
1 file changed, 26 insertions, 6 deletions
_README.md
@@ -1,17 +1,37 @@ | |||
1 | 1 | ``` | |
2 | 2 | # podman build --no-hosts -t localhost/test . | |
3 | 3 | STEP 1/7: FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
4 | - | STEP 2/7: RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD | |
5 | - | [6d6d157ed608] Installing pkg-2.1.0... | |
6 | - | [6d6d157ed608] Extracting pkg-2.1.0: .......... done | |
4 | + | STEP 2/7: RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD | |
5 | + | [01d3a964c584] Installing pkg-2.1.0... | |
6 | + | [01d3a964c584] Extracting pkg-2.1.0: .......... done | |
7 | 7 | Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly, please wait... | |
8 | 8 | Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done | |
9 | - | ... | |
9 | + | --> 283f66cd12d6 | |
10 | + | STEP 3/7: RUN pkg update -q | |
11 | + | --> d4fd110c8d3d | |
12 | + | STEP 4/7: RUN pkg install -qy FreeBSD-openssl | |
13 | + | --> de7b0ccbd468 | |
14 | + | STEP 5/7: RUN pkg upgrade -qy | |
15 | + | Scanning /usr/share/certs/untrusted for certificates... | |
16 | + | Scanning /usr/share/certs/trusted for certificates... | |
17 | + | --> 3a77f6b0adbe | |
18 | + | STEP 6/7: RUN pkg install -qy lang/python3 | |
19 | + | ===== | |
20 | + | Message from python311-3.11.11: | |
21 | + | ||
22 | + | -- | |
23 | + | Note that some standard Python modules are provided as separate ports | |
24 | + | as they require additional dependencies. They are available as: | |
25 | + | ||
26 | + | py311-gdbm databases/py-gdbm@py311 | |
27 | + | py311-sqlite3 databases/py-sqlite3@py311 | |
28 | + | py311-tkinter x11-toolkits/py-tkinter@py311 | |
29 | + | --> 7729f4b256b9 | |
10 | 30 | STEP 7/7: entrypoint /usr/local/bin/python3 -m http.server | |
11 | 31 | COMMIT localhost/test | |
12 | - | --> 74e7b7da6017 | |
32 | + | --> be9a7bf6844c | |
13 | 33 | Successfully tagged localhost/test:latest | |
14 | - | 74e7b7da6017ab882ec71077b62bae3ee89b5d9ce402c68eaffb2b9bc6e33f4f | |
34 | + | be9a7bf6844c83797012f9d5da350eb43cc664eaf5e9aff3b47078649ac025ea``` | |
15 | 35 | ``` | |
16 | 36 | ||
17 | 37 | ``` |
dch revised this gist . Go to revision
2 files changed, 26 insertions, 5 deletions
Containerfile
@@ -1,7 +1,7 @@ | |||
1 | 1 | FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
2 | - | RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD | |
3 | - | RUN pkg update | |
4 | - | RUN pkg install -y FreeBSD-openssl | |
5 | - | RUN pkg upgrade -y | |
6 | - | RUN pkg install -y lang/python3 | |
2 | + | RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD | |
3 | + | RUN pkg update -q | |
4 | + | RUN pkg install -qy FreeBSD-openssl | |
5 | + | RUN pkg upgrade -qy | |
6 | + | RUN pkg install -qy lang/python3 | |
7 | 7 | entrypoint /usr/local/bin/python3 -m http.server |
_README.md(file created)
@@ -0,0 +1,21 @@ | |||
1 | + | ``` | |
2 | + | # podman build --no-hosts -t localhost/test . | |
3 | + | STEP 1/7: FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
4 | + | STEP 2/7: RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD | |
5 | + | [6d6d157ed608] Installing pkg-2.1.0... | |
6 | + | [6d6d157ed608] Extracting pkg-2.1.0: .......... done | |
7 | + | Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly, please wait... | |
8 | + | Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done | |
9 | + | ... | |
10 | + | STEP 7/7: entrypoint /usr/local/bin/python3 -m http.server | |
11 | + | COMMIT localhost/test | |
12 | + | --> 74e7b7da6017 | |
13 | + | Successfully tagged localhost/test:latest | |
14 | + | 74e7b7da6017ab882ec71077b62bae3ee89b5d9ce402c68eaffb2b9bc6e33f4f | |
15 | + | ``` | |
16 | + | ||
17 | + | ``` | |
18 | + | # podman run -it --rm localhost/test:latest | |
19 | + | Serving HTTP on :: port 8000 (http://[::]:8000/) ... | |
20 | + | ^c | |
21 | + | ``` |
dch revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
Containerfile
@@ -1,7 +1,7 @@ | |||
1 | 1 | FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
2 | 2 | RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD | |
3 | - | RUN pkg install -y FreeBSD-openssl | |
4 | 3 | RUN pkg update | |
4 | + | RUN pkg install -y FreeBSD-openssl | |
5 | 5 | RUN pkg upgrade -y | |
6 | 6 | RUN pkg install -y lang/python3 | |
7 | 7 | entrypoint /usr/local/bin/python3 -m http.server |
dch revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
Containerfile
@@ -4,4 +4,4 @@ RUN pkg install -y FreeBSD-openssl | |||
4 | 4 | RUN pkg update | |
5 | 5 | RUN pkg upgrade -y | |
6 | 6 | RUN pkg install -y lang/python3 | |
7 | - | entrypoint /usr/local/bin/python -m http.server | |
7 | + | entrypoint /usr/local/bin/python3 -m http.server |
dch revised this gist . Go to revision
1 file changed, 7 insertions
Containerfile(file created)
@@ -0,0 +1,7 @@ | |||
1 | + | FROM ghcr.io/skunkwerks/freebsd-runtime:14.2 | |
2 | + | RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD | |
3 | + | RUN pkg install -y FreeBSD-openssl | |
4 | + | RUN pkg update | |
5 | + | RUN pkg upgrade -y | |
6 | + | RUN pkg install -y lang/python3 | |
7 | + | entrypoint /usr/local/bin/python -m http.server |