atyenoria/janus-webrtc-gateway-docker

Is it possible to build the image with cgroup2?

kirillt opened this issue · 2 comments

Hi, I am trying to build the image on Fedora 31, which now is using cgroup2 by default.
Docker apparently doesn't support cgroup2 yet, but Podman (rootless docker) does.
However, when I run the build process using podman, it fails on the step 42.
acer-fedora-20200427-014948-473359882

Is it possible to adjust the Dockerfile to be able to build with Podman and cgroup2?

Apparently, this error is not related to cgroup2. Should work with podman build --format=docker.

Confirm, podman build --format=docker and commenting out this stuff:

SHELL ["/bin/bash", "-l", "-euxo", "pipefail", "-c"]
RUN node -v
RUN npm -v

gives me working image.