Skip to content

Conversation

@thomasfinstad
Copy link
Contributor

@thomasfinstad thomasfinstad commented Jan 7, 2026

Small changes to the installation script to expand the possibilities of installation working well for more users.

install.sh Outdated
function make_executable() {
go build -o $executable
go build -o $executable \
|| podman run --rm -v "$PWD:/workdir:Z" -w "/workdir" golang:1 go build -o $executable \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
|| podman run --rm -v "$PWD:/workdir:Z" -w "/workdir" golang:1 go build -o $executable \
|| podman run --rm -v "$PWD:/workdir" -w "/workdir" golang:1 go build -o $executable \

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not been able to test elsewhere, but on my machine selinux is enabled (fedora based), and without the context parameter (the Z) the container is not able to access the files that is mounted. To work around this I suppose I could setup a volume, copy the files into that volume, build, then copy the binary back out of the volume after, but it seems easier to just mount the path.

@matejsmycka
Copy link
Owner

Thank you for the contribution!

I have some nitpicks, otherwise, LGTM.

@matejsmycka
Copy link
Owner

Additionally, please update the README.md file in the requirements section.

@matejsmycka matejsmycka merged commit 1882ce9 into matejsmycka:main Jan 11, 2026
1 check passed
@matejsmycka
Copy link
Owner

Thank you for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants