Is it possible to build the image with cgroup2?
kirillt opened this issue · 2 comments
kirillt commented
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.
Is it possible to adjust the Dockerfile to be able to build with Podman and cgroup2?
kirillt commented
Apparently, this error is not related to cgroup2. Should work with podman build --format=docker
.
kirillt commented
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.