PYTHONUNBUFFERED
This commit is contained in:
parent
250c5624c3
commit
e15a8e3ce0
2 changed files with 5 additions and 3 deletions
|
@ -7,12 +7,12 @@ internet surveillance](https://ulovliglogning.dk/). Privacy through obscurity?
|
||||||
|
|
||||||
# Getting Started
|
# Getting Started
|
||||||
```shell
|
```shell
|
||||||
podman run --rm -it quay.io/caspervk/autosurfer:latest
|
podman run --rm quay.io/caspervk/autosurfer:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
To show the Firefox GUI:
|
To show the Firefox GUI:
|
||||||
```shell
|
```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
|
```shell
|
||||||
nix build .#oci
|
nix build .#oci
|
||||||
./result | podman load
|
./result | podman load
|
||||||
podman run --rm -it autosurfer:dev
|
podman run --rm autosurfer:dev
|
||||||
# podman push autosurfer:dev quay.io/caspervk/autosurfer:latest
|
# podman push autosurfer:dev quay.io/caspervk/autosurfer:latest
|
||||||
```
|
```
|
||||||
|
|
|
@ -80,6 +80,8 @@
|
||||||
'';
|
'';
|
||||||
config = {
|
config = {
|
||||||
Env = [
|
Env = [
|
||||||
|
# Show print()s in podman logs
|
||||||
|
"PYTHONUNBUFFERED=1"
|
||||||
# HOME is not set by podman (but it is by docker??), and is
|
# HOME is not set by podman (but it is by docker??), and is
|
||||||
# required for Firefox to start.
|
# required for Firefox to start.
|
||||||
"HOME=/"
|
"HOME=/"
|
||||||
|
|
Loading…
Reference in a new issue