Commit Graph

14 Commits (master)

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

* fix build for tgs.Dockerfile
3 years ago
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>
3 years ago
Wim b98d56dcf6
Fix docker build 3 years ago
Wim 536823ce55
Optimize Dockerfile (#1361) 3 years ago
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.
3 years ago
Wim acca011f15 Use alpine stable for docker 4 years ago
Sandro 2f0f2ee40d
Combine runs to one layer (#1151) 4 years ago
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.
4 years ago
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.
4 years ago
Wim 31dd538c0b Add extra mimetypes to docker image. Fixes #969 4 years ago
Wim 956d7cf3f3 Add githash to docker builds 7 years ago
Wim c2c135bca2 Release v0.6.0-beta1 8 years ago
Wim 073d90da88 Fix docker build 8 years ago
Wim e03f331f55 Add Dockerfile 8 years ago