Sebastian Davids
Sebastian Davids
An alternative would be `--projects`: ```shell $ npx playwright test --projects browser-desktop,browser-tablet $ npx playwright test --projects api ```
Even when setting `XDG_CACHE_HOME` (see https://github.com/asciidoctor/docker-asciidoctor/issues/470#issuecomment-2344828843) the `src/?` directory is still created. So this has to be configured somewhere else. ```shell $ mkdir -p /tmp/test && cd "$_" $ mkdir...
```shell $ echo "$(id -u):$(id -g)" 502:20 $ docker run --rm -u "$(id -u):$(id -g)" asciidoctor/docker-asciidoctor:1.76.0 whoami whoami: unknown uid 502 $ docker run --rm -v '/tmp/test/src:/documents' -e XDG_CACHE_HOME=/tmp asciidoctor/docker-asciidoctor:1.76.0...
A disadvantage of your workaround is the message "Picked up _JAVA_OPTIONS: -Duser.home=/tmp" being written to stderr. There is not easy way to get rid of it: https://superuser.com/questions/585695/suppressing-the-picked-up-java-options-message
Opened an issue upstream: https://github.com/asciidoctor/asciidoctor-diagram/issues/485
From a security standpoint I suggest not to mount your host's `/etc/passwd` directly. Rather, retrieve the `/etc/passwd` from the container, append a new user, and then mount that file—something similar...
https://github.com/editorconfig/editorconfig/issues/516
https://github.com/editorconfig/editorconfig/issues/332
https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html#AEN73 ```shell $ docker run --user "$(id -u):$(id -g)" --rm -e XDG_CACHE_HOME=/tmp asciidoctor/docker-asciidoctor:1.76.0 sh -c 'fc-cache && ls /tmp/fontconfig' 12b26b760a24f8b4feb03ad48a333a72-le64.cache-9 3830d5c3ddfd5cd38a049b759396e72e-le64.cache-9 51d7d9064f616a814da14ac1dd7116cb-le64.cache-9 5ca8086aeacc9c68e81a71e7ef846b3b-le64.cache-9 6ba42ae0000f58711b5caaf10d690066-le64.cache-9 923e285e415b1073c8df160bee08820f-le64.cache-9 CACHEDIR.TAG a1c95d6dfc9a7b34f44445cf81166004-le64.cache-9 b67b32625a2bb51b023d3814a918f351-le64.cache-9 c470550e31544075faff60bdbbb5d457-le64.cache-9 ```...
related: https://github.com/tailwindlabs/tailwindcss/issues/14119#issuecomment-2642402612