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

Provider a Docker image #6

Open
ad-si opened this issue Mar 21, 2020 · 3 comments
Open

Provider a Docker image #6

ad-si opened this issue Mar 21, 2020 · 3 comments

Comments

@ad-si
Copy link

ad-si commented Mar 21, 2020

The installation with Perl is a little cumbersome if you're not already in the Perl ecosystem. A Docker image would be awesome because then you can simply run docker run --rm jmacdotorg/sweat, without having to install anything

@ad-si
Copy link
Author

ad-si commented Mar 21, 2020

This already comes pretty close. I just couldn't figure out how to expose espeak output to the host. 😕
Maybe you can figure it out …

 from perl

 run apt-get update && \
   apt-get install -y \
     espeak \
     fortune-mod \
     fortunes

 run ln -s /usr/games/fortune /bin/fortune

 run cpanm Sweat

 entrypoint ["sweat"]

@jmacdotorg
Copy link
Owner

Thank you for this work!

I am afraid that don't know anything about Docker, so I can't be of much help with this question. In the meantime, have you tried one of the binaries at https://jmac.org/sweat/ ? (Yes, the README should link to that...)

@ad-si
Copy link
Author

ad-si commented Mar 23, 2020

Oh, there are binaries. That's great, because I wasn't able to install it on macOS from source.
I guess no more excuses tomorrow morning for the workout 😅.

And yeah, you should definitely link to them in the readme 😉.
Thanks for building this tool, really great idea!

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

No branches or pull requests

2 participants