1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 23:51:59 +01:00
Commit Graph

287 Commits

Author SHA1 Message Date
Frank Denis
399f0a89de If unbound-control-setup fails, this is not the end of the world 2019-09-26 01:08:02 +02:00
Frank Denis
14b1b43345 Give up with migrations 2019-09-25 22:50:53 +02:00
Frank Denis
9bf1193f42 Ok, this is a little bit redundant :( 2019-09-25 19:40:20 +02:00
Frank Denis
50873357d0 Use # as a sed delimiter 2019-09-25 17:13:49 +02:00
Frank Denis
c9eb6dc3b3 Remove things we don't use any more in encrypted-dns.sh 2019-09-25 16:23:51 +02:00
Frank Denis
6ef82579b6 Blacklist migration 2019-09-25 16:10:09 +02:00
Frank Denis
e970987013 Prepare for filtering 2019-09-25 15:57:54 +02:00
Frank Denis
090abe5b79 apt -> apt-get 2019-09-25 11:29:02 +02:00
Frank Denis
53176408fa Remove /var/log/apt/* everywhere 2019-09-25 11:16:12 +02:00
Frank Denis
8f9b664386 Remove /var/lib/apt/lists/* after installation 2019-09-25 11:12:20 +02:00
Frank Denis
d7e9926d8f Make all the legacy information accessible from _encrypted-dns 2019-09-25 01:40:16 +02:00
Frank Denis
cd8f720cf6 Re-drop privileges 2019-09-24 22:59:40 +02:00
Frank Denis
44c42a989b Don't privdrop for now 2019-09-24 20:57:55 +02:00
Frank Denis
7b644a6127 Add optional TLS redirection 2019-09-24 18:17:48 +02:00
Frank Denis
cc50ba89ff In init(), it's quite okay to have is_initialized() fail 2019-09-24 17:51:56 +02:00
Frank Denis
d5c6b92a4b Final stop 2019-09-24 17:41:49 +02:00
Frank Denis
df35a47df0 Migration 2019-09-24 17:40:51 +02:00
Frank Denis
01e13d239e Some progress on the migration 2019-09-23 23:34:51 +02:00
Frank Denis
2a4ced87f6 Improve migration 2019-09-23 21:27:49 +02:00
Frank Denis
dd444dd310 migration 2019-09-23 20:55:51 +02:00
Frank Denis
7afe4ec9c0 Install runit-helper instead of runit-systemd 2019-09-23 20:10:47 +02:00
Frank Denis
96dfc096ae Ubuntu package names make no sense 2019-09-23 20:08:06 +02:00
Frank Denis
1514977482 We need libevent-2.1 as a runtime dependency 2019-09-23 20:06:51 +02:00
Frank Denis
573a94ab34 Nits 2019-09-23 19:40:44 +02:00
Frank Denis
744ecefe9a Runit for Ubuntu 2019-09-22 17:46:46 +02:00
Frank Denis
9b5474c135 No need to cat this 2019-09-22 17:38:19 +02:00
Frank Denis
82b3ae360c Run runit as /etc/runit/2 2019-09-22 17:31:17 +02:00
Frank Denis
cbf9f7c4cc Switch to Ubuntu - Rust doesn't work well with musl-libc 2019-09-22 17:16:03 +02:00
Frank Denis
a3efabd367 Preliminary code to move to the new server 2019-09-22 15:38:22 +02:00
Frank Denis
1f42134a69 Recompress images 2019-09-22 15:37:48 +02:00
Frank Denis
a5895ba862
Merge pull request #64 from PeterDaveHello/shfmt
Format shell scripts with shfmt and test it on CI
v1
2019-09-17 15:37:17 +02:00
Frank Denis
372c99adf2
Merge pull request #65 from PeterDaveHello/Dockerfile
Refactor Dockerfile
2019-08-05 19:02:08 +02:00
Peter Dave Hello
fee7c88a04 Separate update-ca-certificates in Dockerfile
Combine it with apk operation, will cause missing error issues due to
the following `|| true`, we should prevent that and let apk fail when
it's needed.
2019-08-06 00:31:01 +08:00
Peter Dave Hello
11e4f8620f Separate CFLAGS=-Ofast to ENV in Dockerfile 2019-08-06 00:00:22 +08:00
Peter Dave Hello
f658223f00 Remove dead code in Dockerfile 2019-08-05 23:56:53 +08:00
Peter Dave Hello
bc3b60aef9 Simplify Dockerfile with WORKDIR /tmp 2019-08-05 23:56:18 +08:00
Peter Dave Hello
f2ffba78a3 Set -x option in SHELL command in Dockerfile
Intead of running `set -x` in the RUN commands
2019-08-05 23:52:13 +08:00
Peter Dave Hello
d761f63ca6 Quote var & function output shell scripts in Dockerfile 2019-08-05 23:50:38 +08:00
Peter Dave Hello
fa7fed55de Format shell scripts with shfmt and test it on CI 2019-08-05 22:19:43 +08:00
Frank Denis
0b439b661d Dropping the cache doesn't work inside a container 2019-06-29 20:04:07 +02:00
Frank Denis
f5f3bf4017 Drop the caches before starting unbound
This reduces memory pressure.
2019-06-29 17:55:11 +02:00
Frank Denis
37bacef22c Unbound 1.9.2 final 2019-06-29 17:40:05 +02:00
Frank Denis
09e3c177bb Update unbound 2019-06-15 14:17:06 +02:00
Frank Denis
dbe8dfacc6 Unbound 1.9.2-rc1 2019-06-10 12:26:26 +02:00
Frank Denis
8f1b0f30ec Give qname minimisation a new chance
Fixes #61
2019-05-28 00:08:12 +02:00
Frank Denis
40595af59d Bump up the reserved memory size
The default is very low, and makes it difficult to do any other task on the
same host.
2019-05-16 17:47:33 +02:00
Frank Denis
156345f0a9 Decrease edns-buffer-size to 1220
Ref: https://sk.tl/2PbhxjbN
2019-05-12 13:45:04 +02:00
Frank Denis
81f3ccbf81
Merge pull request #59 from PeterDaveHello/refactor-shellscripts
Refactor shellscripts
2019-05-12 13:40:13 +02:00
Peter Dave Hello
fc47a319d4 Use replace non-standard egrep/fgrep with grep -E/-F 2019-05-12 19:19:22 +08:00
Peter Dave Hello
3de5db51e9 Improve if condition syntax in shell script 2019-05-12 19:17:50 +08:00