Skip to content

Commit

Permalink
feat: provide podman installation
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Oct 1, 2024
1 parent 46fba80 commit 9ad304d
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions scripts/podman.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/usr/bin/env bash
usage() {
echo "The best free & open source container tools"

# shellcheck disable=1004,2016
echo '
_
_ __ ___ __| |_ __ ___ __ _ _ __
| |_ \ / _ \ / _` | |_ ` _ \ / _` | |_ \
| |_) | (_) | (_| | | | | | | (_| | | | |
| .__/ \___/ \__,_|_| |_| |_|\__,_|_| |_|
|_|
'
}



pre_main() {
return 0
}

main_pacman() {
msg 'According to RedHat, there is a dramatic performance benefit when using CRUN.'
msg 'The C programming language implements the CRUN container runtime.'
require_pacman crun

require_pacman podman
msg 'Podman depends on the netavark package as the default network backend for rootful containers (see podman-network(1)).'
require_pacman netavark
msg 'The optional dependency aardvark-dns is needed for name resolution among containers in the same network.'
require_pacman aardvark-dns
msg 'to replace Docker'
require_pacman podman-compose podman-docker
}

main_apt() {
return 1
}

main_brew() {
return 1
}

main() {
return 0
}

main_parham() {
return 0
}

0 comments on commit 9ad304d

Please sign in to comment.