Cloud: alpine 3.14 does not work

A makefile spawning ‘sh’ will result in Operation not permitted

This succeeds on alpine 3.13 but fails on alpine 3.14

make
sh -c 'echo Hello world'
make: sh: Operation not permitted
make: *** [Makefile:2: example] Error 127

Seems to be this bug Release Notes for Alpine 3.14.0 - Alpine Linux / make: /bin/sh: Operation not permitted (#12396) · Issues · alpine / aports

Fedora 35 also affected, packages can’t be installed as curl fails on getaddrinfo():

1	latest: Pulling from library/fedora
2	Digest: sha256:40ba585f0e25c096a08c30ab2f70ef3820b8ea5a4bdd16da0edbfc0a6952fa57
3	Status: Downloaded newer image for fedora:latest
4	+ dnf install -y gcc-g++ pkgconfig cmake msgpack-devel boost-devel websocketpp-devel zlib-devel openssl-devel libcurl-devel jsoncpp-devel wxGTK3-devel
5	Fedora 35 - x86_64                              0.0  B/s |   0  B     00:00    
6	Errors during downloading metadata for repository 'fedora':
7	  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64&countme=1 [getaddrinfo() thread failed to start]
8	  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
9	Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]

As in Alpine Linux link, a patched Docker is needed: ubuntu:21.10 and fedora:35 do not work on the latest Docker (20.10.9) | by Akihiro Suda | nttlabs | Medium.

Arch Linux has issues too, images prior FS#69563 - core/glibc 2.33 prevents Archlinux runing under systemd-nspawn bug seems to be working.

Setup a test build with working and not working image versions at: https://cloud.drone.io/Lihis/drone.io-test/1

Seems to be an issue still, anyhow, I’ll be removing the repo but here is the YAML to reproduce:

kind: pipeline
type: docker
name: Arch Linux - latest

platform:
  arch: amd64
  os: linux

steps:
  - name: update
    image: archlinux:latest
    pull: always
    commands:
      - pacman -Sy

---
kind: pipeline
type: docker
name: Arch Linux - 20200605

platform:
  arch: amd64
  os: linux

steps:
  - name: update
    image: archlinux:20200605
    pull: always
    commands:
      - pacman -Sy

---
kind: pipeline
type: docker
name: Fedora 34

platform:
  arch: amd64
  os: linux

steps:
  - name: update
    image: fedora:34
    commands:
      - dnf upgrade --refresh -y

---
kind: pipeline
type: docker
name: Fedora 35

platform:
  arch: amd64
  os: linux

steps:
  - name: update
    image: fedora:35
    commands:
      - dnf upgrade --refresh -y

The Arch Linux - latest and Fedora 35 fails on the issue mentioned earlier.