Commit Graph

14 Commits

Author SHA1 Message Date
Sandro bd0516f09a
Use Alpine stable again in Dockerfile (#1643)
* Use alpine stable again

* fix build for tgs.Dockerfile
2021-11-29 01:19:10 +01:00
Alex Vandiver e3ffbcadd8
Add better error handling on Zulip (#1589)
* zulip: Treat unknown errors with a 10-second backoff.

An unknown error (including an unauthorized error) would fall through
with no calls to time.Sleep, resulting in hammering the server as
quickly as possible.

Add a 10-second sleep in the default error case.  The heartbeat is
left with no explicit sleep, but all other codepaths now contain one.

* version: Move version information into a separate package.

This will allow it to be accessed by other sections of the code.

* zulip: Use the matterbridge version in the user-agent.

Co-authored-by: Wim <wim@42.be>
2021-10-23 23:46:27 +02:00
Wim b98d56dcf6
Fix docker build 2021-10-17 14:19:26 +02:00
Wim 536823ce55
Optimize Dockerfile (#1361) 2021-01-15 22:44:01 +01:00
Peter Dave Hello 207cd24edb
Unify/sync apk index cache control in Dockerfile (#1352)
The second stage is using a single `apk` command with `--no-cache` which is better.
2021-01-14 23:48:02 +01:00
Wim acca011f15 Use alpine stable for docker 2020-09-04 23:47:03 +02:00
Sandro 2f0f2ee40d
Combine runs to one layer (#1151) 2020-05-28 00:31:32 +02:00
xnaas ddc2625934
Update Dockerfile so inotify works (#1148)
This change would be required for the Docker image to actually read `RELOADABLE` config options from the `matterbridge.toml`.

This edit would require https://github.com/42wim/matterbridge/wiki/Deploy:-Docker to be updated as well to mention that mounting would have to change to mounting a ***directory*** not a file. inotify inside Docker cannot read directly mounted files, only directories, for whatever reason.

This will preserve setups that were configured to run the old way without breaking them and new configs can be setup "correctly" without issue.
2020-05-24 22:01:52 +02:00
Alex Wigen 0b86b88de7
Remove build dependencies from final docker image (multistage build) (#1057)
This multistage build takes the resulting image size down from 346MB to
90MB.
2020-03-22 22:55:29 +01:00
Wim 31dd538c0b Add extra mimetypes to docker image. Fixes #969 2020-01-07 23:34:11 +01:00
Wim 956d7cf3f3 Add githash to docker builds 2017-02-17 22:32:42 +01:00
Wim c2c135bca2 Release v0.6.0-beta1 2016-08-20 18:09:00 +02:00
Wim 073d90da88 Fix docker build 2016-07-23 00:03:54 +02:00
Wim e03f331f55 Add Dockerfile 2016-05-21 16:30:39 +02:00