From 7bde3537ed09f131c6f4085e43ddc0cb684f1f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E5=86=AC=E7=94=9F?= Date: Thu, 20 Feb 2020 11:35:47 +0000 Subject: [PATCH] Add more Linux distributions --- README.md | 18 +++++++++++++----- docker-test.sh | 20 +++++++++++++++----- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1e067d3..6d14af9 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ it will **use root permission silently** if invalid user-spec given ! + The easiest way is to keep using the static musl version: su-exec-musl-static (38 KiB). + If you use musl distribution, e.g. Alpine Linux, use shared musl version: su-exec-musl-shared (10 KiB). -+ If you use glibc distribution, e.g. CentOS/Debian/Ubuntu/RHEL Linux, use shared glibc version: su-exec-glibc-shared (7 KiB). ++ If you use glibc distribution, e.g. SUSE/Debian/Ubuntu/RHEL/CentOS Linux, use shared glibc version: su-exec-glibc-shared (7 KiB). ### Linux distribution and version support matrix @@ -57,19 +57,27 @@ it will **use root permission silently** if invalid user-spec given ! | alpine:3.7 | XX | XX | OK | OK | | alpine:3.8 | XX | XX | OK | OK | | alpine:3.9 | XX | XX | OK | OK | +| alpine:3.10 | XX | XX | OK | OK | +| alpine:3.11 | XX | XX | OK | OK | | centos:5 | OK | XX | XX | OK | | centos:6 | OK | OK | XX | OK | | centos:7 | OK | OK | XX | OK | | debian:6 | OK | OK | XX | OK | -| debian:7-slim | OK | OK | XX | OK | -| debian:8-slim | OK | OK | XX | OK | -| debian:9-slim | OK | OK | XX | OK | -| debian:buster-slim | OK | OK | XX | OK | +| debian:7 | OK | OK | XX | OK | +| debian:8 | OK | OK | XX | OK | +| debian:9 | OK | OK | XX | OK | +| debian:10 | OK | OK | XX | OK | | ubuntu:10.04 | OK | OK | XX | OK | | ubuntu:12.04 | OK | OK | XX | OK | | ubuntu:14.04 | OK | OK | XX | OK | | ubuntu:16.04 | OK | OK | XX | OK | | ubuntu:18.04 | OK | OK | XX | OK | +| ubuntu:20.04 | OK | OK | XX | OK | +| rhel6 | OK | OK | XX | OK | +| rhel7 or ubi7 | OK | OK | XX | OK | +| RHEL 8 (ubi8) | OK | OK | XX | OK | +| sles12sp5 | OK | OK | XX | OK | +| sle15:15.1 | OK | OK | XX | OK | ## Download diff --git a/docker-test.sh b/docker-test.sh index 98020c9..0cf1284 100755 --- a/docker-test.sh +++ b/docker-test.sh @@ -1,6 +1,6 @@ #!/bin/bash -while read IMG USR REST; do +while read IMG REST; do # echo docker pull $IMG # docker pull $IMG >/dev/null for PROG in su-exec-glibc-shared su-exec-glibc-static su-exec-musl-shared su-exec-musl-static; do @@ -21,17 +21,27 @@ alpine:3.6 alpine:3.7 alpine:3.8 alpine:3.9 +alpine:3.10 +alpine:3.11 centos:5 centos:6 centos:7 +centos:8 debian:6 -debian:7-slim -debian:8-slim -debian:9-slim -debian:buster-slim +debian:7 +debian:8 +debian:9 +debian:10 ubuntu:10.04 ubuntu:12.04 ubuntu:14.04 ubuntu:16.04 ubuntu:18.04 +ubuntu:20.04 +registry.access.redhat.com/rhel6 +registry.access.redhat.com/rhel7 +registry.access.redhat.com/ubi7/ubi +registry.access.redhat.com/ubi8/ubi +registry.suse.com/suse/sles12sp5 +registry.suse.com/suse/sle15:15.1 EOF