Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker image: Permission denied when executing twitch_exporter #60

Closed
coolapso opened this issue Jul 20, 2024 · 1 comment · Fixed by #71
Closed

docker image: Permission denied when executing twitch_exporter #60

coolapso opened this issue Jul 20, 2024 · 1 comment · Fixed by #71

Comments

@coolapso
Copy link
Contributor

coolapso commented Jul 20, 2024

When container image build the execute permissions are not being preserved therefore the twitch exporter binary is not executable and throws permission denied error.

Steps to reproduce:

docker run -p 9184:9184 \
        damoun/twitch-exporter \
        --twitch.client-id * \
        --twitch.access-token * \
        --twitch.channel cool4pso

Steps to verify:

☸ virt01 ❯docker run -ti --entrypoint /bin/sh damoun/twitch-exporter
/ # ls -la /bin/twitch_exporter
-rw-r--r--    1 root     root      16303651 Jul 17 07:50 /bin/twitch_exporter
/ #

OBS: I Have already a solution for this, but there are other issues I am looking into before pushing and submmiting prs.

@damoun damoun closed this as completed in c83d70e Jul 29, 2024
@damoun
Copy link
Owner

damoun commented Jul 29, 2024

It's a bug with the github action to upload the build artifact actions/upload-artifact#38

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 a pull request may close this issue.

2 participants