Commit Graph

117 Commits

Author SHA1 Message Date
Bernhard B
c554319d74 fixed zkgroup build for ARM 2021-01-03 19:38:21 +01:00
Bernhard B
8bef9fca9d Merge branch 'master' into zkgroup 2021-01-03 14:41:59 +01:00
Bernhard B
313e87c102 add --no-log-init flag when creating a user with useradd
* there seems to be a bug in the Go archiver which could lead to disk
  exhaustion under certain circumstances. This flag will be added to be
  on the safe side. see https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
  for details.
2020-12-25 17:04:52 +01:00
Bernhard B
3ef1665e6f Merge branch 'non_root' 2020-12-25 12:59:30 +01:00
Bernhard B
dc3d15eadc add missing setpriv to Dockerfile 2020-12-25 12:58:32 +01:00
Bernhard B
ce6107f6d7 Revert "Revert "Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api""
This reverts commit 5ef870fa0c.
2020-12-25 12:52:52 +01:00
Bernhard B
37c91b9fa5 temporarily revert to signal-cli 0.6.12 version
* with signal-cli version 0.7 groups v2 were introduced, which
require some bigger changes in the Dockerfile (zkgroup support)
2020-12-25 12:38:50 +01:00
Bernhard B
5ef870fa0c Revert "Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api"
This reverts commit 21764cefa4, reversing
changes made to 5c33d81817.
2020-12-25 11:05:09 +01:00
Bernhard B
21764cefa4 Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api 2020-12-25 10:33:26 +01:00
Bernhard B
8723668db3 build zkgroup in Dockerfile
* starting with signal-cli version 0.7.0 zkgroup is now required
2020-12-25 10:26:45 +01:00
Bernhard B
5c33d81817 updated signal-cli to version 0.7.0 2020-12-20 13:25:01 +01:00
Bernhard B
430df9749c updated signal-cli to version 0.6.12 2020-12-13 19:23:12 +01:00
FL42
cce3f47722 refactor: use setpriv instead of su 2020-11-27 23:31:48 +01:00
FL42
8d3e11941e fix: propagate args 2020-11-27 22:32:53 +01:00
FL42
48448cdca1 feat: show warning when exec in container 2020-11-27 22:29:59 +01:00
FL42
486f47995f refactor: use one RUN statement 2020-11-27 22:29:45 +01:00
Bernhard B
c01abfac34 Merge pull request #43 from funkybunch/ARM-dependency-fix
JRE Dependency Fix + Port Configuration
2020-11-23 21:01:13 +01:00
Mark Adkins
57665c4ec4 JRE Dependency Fix + Port Configuration 2020-11-22 17:53:04 -05:00
FL42
eb94d04c79 fix: run api as signal-api user, fix permissions on startup 2020-11-22 14:16:06 +01:00
Bernhard B
12a16c381b Merge pull request #40 from fl42/fix/message-looks-as-arg
Fix issue when message looks like a CLI arg (like "--test")
2020-11-22 13:28:54 +01:00
FL42
b9df80d6c6 fix: pass message as stdin 2020-11-22 11:09:31 +01:00
Bernhard B
418b93459f updated swagger documentation
* added documentation for timeout parameter in receive endpoint
2020-11-01 21:47:25 +01:00
Bernhard B
7674dbcdb8 Merge pull request #36 from stayradiated/master
Support custom "timeout" option when receiving messages
2020-11-01 21:39:27 +01:00
George Czabania
2a1d70ba95 feat(receive): add timeout option 2020-10-31 12:19:05 +13:00
Bernhard B
136fa62698 Revert "use non-root user in docker image"
This reverts commit 9b4ee24a0e.

Unfortunately, this change breaks backwards compatibility.
(Due to permission issues, existing bind mounts wouldn't work anymore
and users would need to manually adapt permissions in order to get it
working again). Will revert this change for now, until a backwards
compatible solution is found
2020-10-18 21:33:52 +02:00
Bernhard B
3881ada059 updated signal-cli to version 0.6.11 2020-10-18 20:34:31 +02:00
Bernhard B
9b4ee24a0e use non-root user in docker image
see #31
2020-10-08 21:14:06 +02:00
Bernhard B
9ffc03e8f3 improved API documentation + error handling 2020-10-05 18:32:59 +02:00
Bernhard B
023d10f648 updated docs 2020-10-05 18:25:42 +02:00
Bernhard B
d4e27e4882 Merge pull request #33 from danijelst/master
Add a white border around the QR Image
2020-10-05 18:22:53 +02:00
Danijel Fischer
dff503e31d Forgot to add the main change 2020-10-04 13:00:00 +02:00
Danijel Fischer
0dc5c0f4d7 Add a white border around the QR Image 2020-10-04 12:57:29 +02:00
Bernhard B
7e9c0a0653 Update OCTOPRINT.md 2020-09-21 20:30:18 +02:00
Bernhard B
01ad604748 Update HOMEASSISTANT.md 2020-09-21 20:29:55 +02:00
Bernhard B
9d7f365497 Update README.md 2020-09-21 20:29:29 +02:00
Bernhard B
524939dd0a Merge pull request #27 from bentolor/build/reduce-image-size
build(Dockerfile): reduce image size from 2G GB to ~0.4GB
2020-08-28 16:18:44 +02:00
Benjamin Schmid
c00480696d build(Docker): switch to adoptopenjdk to support armv7 2020-08-16 11:49:46 +02:00
Benjamin Schmid
a6e8cce641 build(Docker image): switch to JRE and Debian buster variant
This should avoid potential issues in ARM environemnts with
musl/alpine linux.
2020-08-14 10:46:36 +02:00
Benjamin Schmid
b0b3dc761b build(Dockerfile): reduce image size from 2G GB to ~0.4GB
This uses mulit-stage build to separate the build phase from
the distribution image and signigicantly reduces images size.

You can find more information on Docker multistage builds here:
https://docs.docker.com/develop/develop-images/multistage-build/
2020-08-13 20:36:42 +02:00
Bernhard B
4e4829b650 Merge branch 'master' of https://github.com/bbernhard/signal-cli-rest-api 2020-08-13 19:21:18 +02:00
Bernhard B
12d53dd098 Remove temporary files also on success
* Up to now, the temporary files on the filesystem were only removed
  when an error occured - resulting in an ever growing docker container.
  This changeset makes sure that the temporary files also get removed on
  success.

see #26
2020-08-13 19:16:59 +02:00
Bernhard B
3b69572992 Update README.md 2020-07-10 22:06:36 +02:00
Bernhard B
d289b862d5 fixed API documentation for send endpoints 2020-07-10 22:01:55 +02:00
Bernhard B
80d9c15d91 added examples 2020-07-10 21:58:04 +02:00
Bernhard B
d1da805766 Merge branch 'master' of https://github.com/bbernhard/signal-cli-rest-api 2020-07-10 21:49:23 +02:00
Bernhard B
7a26d3e277 added pin verification + fixed bug in swagger documentation 2020-07-10 21:48:46 +02:00
Bernhard B
148121ad49 Update index.html 2020-07-03 19:49:34 +02:00
Bernhard B
bba1230803 Update README.md 2020-07-03 17:52:25 +02:00
Bernhard B
2927a4b0a4 Merge pull request #21 from bbernhard/swagger
Swagger
2020-07-03 17:41:46 +02:00
Bernhard B
b0eafe4302 added index.html 2020-07-03 17:37:04 +02:00