File tree Expand file tree Collapse file tree
src/main/java/io/github/intisy/docker Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828public class LinuxDockerProvider extends DockerProvider {
2929 private static final Logger log = LoggerFactory .getLogger (LinuxDockerProvider .class );
3030
31- private static final String ROOTLESSKIT_VERSION = "v2.1.1 " ;
31+ private static final String ROOTLESSKIT_VERSION = "v2.3.5 " ;
3232 private static final String ROOTLESSKIT_DOWNLOAD_URL = "https://github.com/rootless-containers/rootlesskit/releases/download/%s/rootlesskit-%s.tar.gz" ;
3333 private static final String DOCKER_ROOTLESS_SCRIPT_URL = "https://raw.githubusercontent.com/moby/moby/master/contrib/dockerd-rootless.sh" ;
3434 private static final String DOCKER_DOWNLOAD_URL = "https://download.docker.com/linux/static/stable/%s/docker-%s.tgz" ;
@@ -120,9 +120,20 @@ private String getArch() {
120120 String osArch = System .getProperty ("os.arch" );
121121 switch (osArch ) {
122122 case "amd64" :
123+ case "x86_64" :
123124 return "x86_64" ;
124125 case "aarch64" :
126+ case "arm64" :
125127 return "aarch64" ;
128+ case "arm" :
129+ case "armv7l" :
130+ return "armv7l" ;
131+ case "ppc64le" :
132+ return "ppc64le" ;
133+ case "riscv64" :
134+ return "riscv64" ;
135+ case "s390x" :
136+ return "s390x" ;
126137 default :
127138 throw new UnsupportedOperationException ("Unsupported architecture: " + osArch );
128139 }
You can’t perform that action at this time.
0 commit comments