convert to podman
* call podman exec instead of using API: - build does not support progress - run looks like to lack equivalent dockerpty support * config: use full uri as short names are not supported on all OSes (like debian 11)
This commit is contained in:
+10
-15
@@ -21,9 +21,6 @@ debian_base: &debian_base
|
||||
binds:
|
||||
- /etc/timezone:ro
|
||||
- /etc/localtime:ro
|
||||
- /etc/passwd:ro
|
||||
- /etc/group:ro
|
||||
- /etc/shadow:ro
|
||||
- "{home}"
|
||||
environment:
|
||||
- USER
|
||||
@@ -33,7 +30,7 @@ debian_base: &debian_base
|
||||
|
||||
debian9:
|
||||
<<: *debian_base
|
||||
image: debian:9
|
||||
image: docker.io/debian:9
|
||||
dockerfile:
|
||||
- ARG DEBIAN_FRONTEND=noninteractive
|
||||
- RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
|
||||
@@ -46,23 +43,24 @@ debian9:
|
||||
|
||||
debian10:
|
||||
<<: *debian_base
|
||||
image: debian:10
|
||||
image: docker.io/debian:10
|
||||
|
||||
debian11:
|
||||
<<: *debian_base
|
||||
image: debian:11
|
||||
image: docker.io/debian:11
|
||||
|
||||
debian12:
|
||||
<<: *debian_base
|
||||
image: debian:12
|
||||
image: docker.io/debian:12
|
||||
|
||||
ubuntu20.04:
|
||||
<<: *debian_base
|
||||
image: ubuntu:20.04
|
||||
image: docker.io/ubuntu:20.04
|
||||
|
||||
ubuntu22.04:
|
||||
<<: *debian_base
|
||||
image: ubuntu:22.04
|
||||
image: docker.io/ubuntu:22.04
|
||||
|
||||
rh_base: &rh_base
|
||||
dockerfile:
|
||||
- RUN dnf install -y sudo
|
||||
@@ -80,9 +78,6 @@ rh_base: &rh_base
|
||||
binds:
|
||||
- /etc/timezone:ro
|
||||
- /etc/localtime:ro
|
||||
- /etc/passwd:ro
|
||||
- /etc/group:ro
|
||||
- /etc/shadow:ro
|
||||
- "{home}"
|
||||
environment:
|
||||
- USER
|
||||
@@ -93,7 +88,7 @@ rh_base: &rh_base
|
||||
|
||||
centos7:
|
||||
<<: *rh_base
|
||||
image: centos:7
|
||||
image: docker.io/centos:7
|
||||
dockerfile:
|
||||
- RUN yum install -y sudo
|
||||
- RUN echo "Defaults lecture = never" >> /etc/sudoers
|
||||
@@ -104,9 +99,9 @@ centos7:
|
||||
|
||||
rocky8:
|
||||
<<: *rh_base
|
||||
image: rockylinux:8
|
||||
image: docker.io/rockylinux:8
|
||||
|
||||
rocky9:
|
||||
<<: *rh_base
|
||||
image: rockylinux:9
|
||||
image: docker.io/rockylinux:9
|
||||
|
||||
|
||||
Reference in New Issue
Block a user