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

Add Dockerfile #60

Merged
merged 1 commit into from Mar 8, 2019

Conversation

Projects
None yet
3 participants
@ptman
Copy link
Contributor

commented Mar 8, 2019

This is a dockerfile for weechat-matrix. It's not particularly nice. It gives errors. It doesn't try to do things "the right way". But it produces a docker image with a working weechat-matrix.

@vranki

This comment has been minimized.

Copy link

commented Mar 8, 2019

Tested this and works fine.

Some additions I'd do (maybe in future PR)

  • Add documentation to README
  • Allow saving WeeChat config to a volume (aka document this)
  • Base on buster-slim if possible, to get smaller docker image.

Thanks!

@vranki

This comment has been minimized.

Copy link

commented Mar 8, 2019

Instructions on how to run this with persistent configuration (in conf directory):

Create image

docker build -t weechat .

Run image

docker run -it -v pwd/conf:/root/weechat-conf/:rw weechat

Create symlink to conf directory (needs to be done only once)

ln -s ../.weechat/python weechat-conf/

Start weechat

weechat --dir weechat-conf/

@poljar poljar merged commit c9b14c8 into poljar:master Mar 8, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.