Commit Graph

72 Commits

Author SHA1 Message Date
Bernhard B
41b11d64c1 temporarily switched back to adoptopenjdk:11-jre-hotspot-bionic image
* the eclipse-temurin images currently do not support armv7
2021-09-12 19:09:15 +02:00
Bernhard B
53f351d37e updated graalvm to 21.2.0 2021-09-12 19:08:28 +02:00
Bernhard B
6a38b9415e updated signal-cli to version 0.9.0 2021-09-12 18:13:07 +02:00
Bernhard B
0755b96535 updated build & release container
* updated build container to debian bullseye
* updated release container to eclipse-temurin:11-jre-focal
  (the adoptopenjdk docker image is not longer maintained)
2021-09-12 18:08:18 +02:00
Bernhard B
fd5388506b checkout specific signal-cli version in Dockerfile
* accidentally removed in previous commit
2021-09-11 23:05:36 +02:00
Bernhard B
79fa00fdf1 cleaned up Dockerfile 2021-09-11 22:33:56 +02:00
Bernhard B
2debc8554b updated Dockerfile to support JSON-RPC 2021-09-11 22:33:31 +02:00
Bernhard B
9c0a73cb52 copy src/client folder to docker container 2021-09-05 19:36:18 +02:00
Bernhard B
85dfe199f3 updated signal-cli to version 0.8.5 2021-08-10 19:52:20 +02:00
Bernhard B
3d8133284e updated signal-cli to version 0.8.4.1 2021-06-22 19:44:45 +02:00
Bernhard B
44f781b723 updated signal-cli to version 0.8.4 and libsignal-client to version
0.8.1
2021-06-15 12:29:17 +02:00
webzit
5b61a3bb53 Unintentional spacing deleted
Unintentional spacing deleted
2021-05-16 23:27:19 +02:00
webzit
5f4de7c63b Add architecture specific lib's for GraalVM
Add architecture specific libsignal_jni.so && libzkgroup.so for GraalVM (e.g. Raspberry 64)
2021-05-16 23:13:11 +02:00
Bernhard B
f79c5c2598 updated signal-cli to v0.8.3 2021-05-13 17:41:51 +02:00
Bernhard B
b9ff3062bd Merge branch 'master' into v0.8.1 2021-03-14 21:14:30 +01:00
Bernhard B
d6f09f1958 updated signal-cli to version 0.8.1 2021-03-14 21:14:04 +01:00
haberda
aaae1301b4 Update Dockerfile
Without the *.tar the tar file is not deleted. This change saves about 20mb of space.
2021-03-13 09:33:15 -08:00
Bernhard B
b3c29c1581 reworked entrypoint script
* made it easier for the Home Assistant addon
  to specify the signal-cli config location.
2021-02-27 18:41:59 +01:00
Bernhard B
a8620463cb fixed dockerfile for arm64 builds
* build native extension BEFORE replacing platform specific
  zkgroup + libsignal-client, otherwise shared objects are overwritten
  by the x86-64 one.
2021-02-26 13:25:47 +01:00
Bernhard B
59f731377b fixed build for armv7 2021-02-21 22:16:50 +01:00
Bernhard B
84b05bc2ff fixed small bug in arvm7 build 2021-02-20 14:17:19 +01:00
Bernhard B
23c6fabf8e fixed dockerbuild for armv7 2021-02-19 21:51:07 +01:00
Bernhard B
4d3080de47 updated dockerfile
* resturctured dockerfile a bit
2021-02-14 21:57:48 +01:00
Bernhard B
525433e8a2 build native image of signal-cli for arm64 & x86-64 2021-02-14 21:17:27 +01:00
Bernhard B
e20b9c5122 updated Dockerfile
* changed signal-cli to version 0.8.0
* use architecture specific signal-client
2021-02-14 20:55:41 +01:00
Bernhard B
0b1532cecf added support for native images 2021-01-30 22:47:35 +01:00
Bernhard B
d240bc03dc update signal-cli to version 0.7.4 2021-01-19 19:36:19 +01:00
Bernhard B
3f08a07a30 updated signal-cli to version 0.7.3 2021-01-18 20:19:13 +01:00
Bernhard B
f5d3880c49 added health check endpoint + fixed logging
* set go-gin to release mode
* added health check endpoint
* excluded endpoint from logger

see #63
2021-01-16 20:14:15 +01:00
Bernhard B
0ae4a5b0af use port from env variable for healthcheck in case another port is set 2021-01-16 19:17:37 +01:00
Bernhard B
33f10161ad Merge pull request #57 from x-jokay/feature/add-health-check
Add healthcheck
2021-01-16 19:04:11 +01:00
D. Domig
d521be7ac6 Switch runtime to JRE 2021-01-16 18:06:08 +01:00
D. Domig
f5c5358b84 Add healthcheck 2021-01-16 17:25:47 +01:00
Bernhard B
87e917486e improved Dockerfile
* added check to verify that we are linking against the correct
  libzkgroup.so file.
2021-01-15 21:21:47 +01:00
Bernhard B
0b5defb8e5 updated Dockerfile 2021-01-15 20:45:32 +01:00
Bernhard B
c5dfed4a0b improved Dockerfile 2021-01-15 15:07:22 +01:00
Bernhard B
2d10152212 fixed ARM build 2021-01-13 23:44:22 +01:00
Bernhard B
85e3afe125 bumped signal-cli to version 0.7.2 2021-01-13 19:30:10 +01:00
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
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
486f47995f refactor: use one RUN statement 2020-11-27 22:29:45 +01:00