Skip to content

Commit

Permalink
Add more Linux distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
songdongsheng committed Feb 20, 2020
1 parent a75a2c3 commit 7bde353
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
20 changes: 15 additions & 5 deletions docker-test.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 7bde353

Please sign in to comment.