PYTHONUNBUFFERED

This commit is contained in:
Casper V. Kristensen 2024-08-05 21:39:02 +02:00
parent 250c5624c3
commit e15a8e3ce0
2 changed files with 5 additions and 3 deletions

View file

@ -7,12 +7,12 @@ internet surveillance](https://ulovliglogning.dk/). Privacy through obscurity?
# Getting Started
```shell
podman run --rm -it quay.io/caspervk/autosurfer:latest
podman run --rm quay.io/caspervk/autosurfer:latest
```
To show the Firefox GUI:
```shell
podman run --rm -it --network host --env DISPLAY --security-opt label=type:container_runtime_t quay.io/caspervk/autosurfer:latest
podman run --rm --network host --env DISPLAY --security-opt label=type:container_runtime_t quay.io/caspervk/autosurfer:latest
```
@ -20,6 +20,6 @@ podman run --rm -it --network host --env DISPLAY --security-opt label=type:conta
```shell
nix build .#oci
./result | podman load
podman run --rm -it autosurfer:dev
podman run --rm autosurfer:dev
# podman push autosurfer:dev quay.io/caspervk/autosurfer:latest
```

View file

@ -80,6 +80,8 @@
'';
config = {
Env = [
# Show print()s in podman logs
"PYTHONUNBUFFERED=1"
# HOME is not set by podman (but it is by docker??), and is
# required for Firefox to start.
"HOME=/"