Commit graph

37 commits

Author SHA1 Message Date
645e890730
Use sudo, add luarocks, and remove deprecated config 2024-05-14 20:47:21 -06:00
2b1533cb0e
Add lua-unbound 2024-05-15 09:51:16 -06:00
6d075b770b
Use modern versions of dependencies 2024-05-08 22:05:21 -06:00
2ea729370a
Run apt-get update before trying to install curl 2024-05-08 21:54:49 -06:00
0c5cb7235e
Use prosody apt repo to install 2024-05-08 21:47:33 -06:00
Alexander Dahl
83556a4c5a Revert "Use tini as PID 1 inside the container"
This reverts commit 31d6d84433.

While tini successfully forwards signals, this leads to `runuser`
killing prosody now. The container does terminate in 10 seconds, so
Docker is happy and you could argue that actually fixes #68, but it's no
graceful shutdown. The revert is done because it's easier to apply a
real fix without tini.
2021-03-27 16:58:09 +01:00
Kim Alvefur
52cd642d38 Remove inaccurate comment
It says "from debian" right beneath it!
2021-03-20 12:32:20 +01:00
Jonas Schäfer
31d6d84433 Use tini as PID 1 inside the container
tini [1] is a minimalistic PID 1 process. It correctly handles
the special jobs which PID 1 (or a reaper process in general)
needs to take care of in addition to correctly processing the
relevant signals.

Fixes #68.

   [1]: https://github.com/krallin/tini
2021-03-20 12:30:27 +01:00
Kim Alvefur
4878e32010 Remove our repo
Debian versions of dependencies should be fine now
2020-02-14 00:50:18 +01:00
Kim Alvefur
95a9d24b76 Run with same UID as datadir owner
This should fix problems with owner/uid mismatch when an existing
prosody data directory is mounted into the container

Closes #39
2020-02-13 01:10:36 +01:00
Kim Alvefur
47d22ada68 Start prosody with the new flag to force foreground operation 2020-02-13 01:08:16 +01:00
Kim Alvefur
80c6ffc362 Install procps, dependency of recent packages 2020-02-12 19:55:34 +01:00
Kim Alvefur
f2c1afeabe Add libicu needed by trunk nightly builds (fixes #59) 2020-02-12 19:52:19 +01:00
Kim Alvefur
3a47a006bc Switch base image to Debian 10 (closes #61)
OpenSSL version with TLS 1.3 support
2020-02-12 19:32:28 +01:00
Matthew Wild
1fa2fb60ce Ensure prosody package key is world-readable (so apt user can read it) 2019-01-14 12:19:03 +00:00
Matthew Wild
21b5e2d19b Create directory for pidfile (usually created by init script) 2019-01-14 11:43:13 +00:00
Matthew Wild
4de30316aa Add lua5.2 for compatibility with 0.11 packages 2019-01-14 11:42:51 +00:00
Matthew Wild
72bf20f29f Update Dockerfile to Debian stretch 2019-01-14 11:28:19 +00:00
Kim Alvefur
b186acf8ff Remove redundant LuaExpat package 2017-10-20 03:40:34 +02:00
Kim Alvefur
01bbe56547 Explicitly install some base requirements
These are in the Prosody debian package dependencies.
2017-10-20 03:39:45 +02:00
Christian Wolff
df16f5af7e Install ca-certificates package to fix s2s SSL errors. 2016-08-08 12:58:44 +02:00
Matthew Wild
c095ddd323 Dockerfile: chmod 755 the entrypoint, so we don't depend on the permissions of the build system, fixes #27 2016-03-11 15:51:35 +00:00
Lloyd Watkin
b31d7c913e Make entrypoint.sh executable
Fixes #27
cc @mwild1
2016-03-09 08:52:23 +00:00
Matthew Wild
d346e0912e Install lua-bitop, fixes #24 2016-02-04 19:24:01 +00:00
Matthew Wild
bed0d8e598 Run as user 'prosody', and run prosody instead of prosodyctl. Also set __FLUSH_LOG environment variable to tell Prosody it needs to flush its logs after writing. Fixes #23 and fixes #25. 2016-02-04 19:17:11 +00:00
Sam Whited
2b420fa628 Remove duplicate lua-zlib install line. 2015-10-23 13:50:25 -05:00
Kevin Carter
1b1f0ed951 Cleanup the Dockerfile
- Reduce the build steps to reduce the number and size of intermediate images
- Set the logging to stdout by default
- Remove default user create, but still allow optional user creation
- Fix entrypoint command setup
2014-12-07 20:02:23 -07:00
Lloyd Watkin
712f293389 Use a bash script to start prosody 2014-11-25 14:54:40 +00:00
Lloyd Watkin
1d8b665909 Add 5281 as exposed port 2014-11-14 14:26:12 +00:00
Lloyd Watkin
5d0c401f38 Daemonize = false 2014-11-14 13:36:44 +00:00
Lloyd Watkin
329202e73b Install more recent libssl 2014-11-14 13:36:35 +00:00
Lloyd Watkin
2f2ae3b1d4 Update the entrypoint 2014-11-13 20:33:22 +00:00
Lloyd Watkin
a81e8d74f9 Moved into main instal 2014-11-13 20:32:54 +00:00
Lloyd Watkin
3c732b2f5a Copy 'deb' file into place 2014-11-13 20:32:41 +00:00
Lloyd Watkin
542599556b Instal more packages 2014-11-13 20:32:00 +00:00
Lloyd Watkin
4e6069cf97 Do easier deployments, add README 2014-11-13 15:21:28 +00:00
Lloyd Watkin
87083022eb Add dockerfile 2014-11-13 10:42:44 +00:00