containers/podman-tui

Binaries for Oracle Linux (OCI)

Closed this issue · 3 comments

Is your feature request related to a problem? Please describe.
It would be very useful to have binaries for Oracle Linux (OCI) used on Oracle Cloud compute instances.

Oracle Linux uses podman, not docker, which is why podman-tui at the moment is the only TUI tool for podman.

Describe the solution you'd like
Build static binaries for amd64.

Additional context
Alas, building it from sources is also not accessible due to missing packages for dependencies.

I am using Oracle-Linux-8.6-2022.08.29-0 image.

I ended up with the following:

wget https://github.com/containers/podman-tui/archive/refs/tags/v0.5.0.tar.gz
tar xvzf v0.5.0.tar.gz
cd podman-tui-0.5.0/

make binary

running go build
go build -mod=vendor  -o ./bin/podman-tui
# github.com/proglottis/gpgme
vendor/github.com/proglottis/gpgme/data.go:4:11: fatal error: gpgme.h: No such file or directory
 // #include <gpgme.h>
           ^~~~~~~~~
compilation terminated.
# github.com/containers/storage/drivers/btrfs
vendor/github.com/containers/storage/drivers/btrfs/btrfs.go:9:10: fatal error: btrfs/ioctl.h: No such file or directory
 #include <btrfs/ioctl.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

sudo dnf install btrfs-progs-devel device-mapper-devel gpgme-devel libassuan-devel
Last metadata expiration check: 1:48:19 ago on Tue 06 Sep 2022 14:59:23 GMT.
No match for argument: device-mapper-devel
No match for argument: gpgme-devel
No match for argument: libassuan-devel
Error: Unable to find a match: device-mapper-devel gpgme-devel libassuan-devel

Hi @begoon

Can u try:

#export BUILDFLAGS="-tags \"exclude_graphdriver_btrfs\""
#make binary 

Hi @begoon
static build binaries for Linux is available from release v0.7.0.

Tested on Oracle OCI linux. Thanks!

image