Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit 9ea8fae

Browse files
authored
Update Jenkinsfile-online
1 parent f614254 commit 9ea8fae

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

Jenkinsfile-online

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,18 @@ pipeline {
3333
}
3434
}
3535
}
36-
36+
stage ('install podman') {
37+
steps {
38+
container ('maven') {
39+
sh '''
40+
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/devel:kubic:libcontainers:stable.repo
41+
yum -y install podman
42+
mv /usr/bin/docker /usr/bin/docker_ce
43+
ln -s /usr/bin/podman /usr/bin/docker
44+
'''
45+
}
46+
}
47+
}
3748
stage ('build & push') {
3849
steps {
3950
container ('maven') {

0 commit comments

Comments
 (0)