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
Peter Dave Hello
96b9dc9b32
Remoe unnecessary $
on arithmetic variables in shell script
2019-05-12 19:13:06 +08:00
Peter Dave Hello
3ea7dd925c
Quote var/cmd output in shell script to prevent word splitting
2019-05-12 19:10:41 +08:00
Frank Denis
eaf9f3b8cb
Merge remote-tracking branch 'org/master'
...
* org/master:
Enable Travis CI with basic Docker build testing
Properly cleanup apk build dependency in Dockerfile
Use multi-thread to "make" in Dockerfile to speedup build
Specify git clone depth in Dockerfile to speed up git cloning
Clone libsodium with specify single branch in Dockerfile
Replace apk parameter `--update` with `--no-cache` to reduce size
2019-05-05 09:10:25 +02:00
Frank Denis
0b937eb036
Add Travis Badge and fix dnscrypt website URL
2019-05-05 09:07:56 +02:00
Frank Denis
a4a24e861a
Merge pull request #57 from PeterDaveHello/EnableTravisCI
...
Enable Travis CI with basic Docker build testing
2019-05-04 22:17:44 +02:00
Peter Dave Hello
2e27aeba4f
Enable Travis CI with basic Docker build testing
2019-05-05 01:05:08 +08:00
Frank Denis
7f735f89b8
Merge pull request #56 from PeterDaveHello/Refactor-Dockerfile
...
Refactor Dockerfile
2019-05-03 19:04:40 +02:00
Peter Dave Hello
651e843bda
Properly cleanup apk build dependency in Dockerfile
2019-05-03 23:43:10 +08:00
Peter Dave Hello
baf65123c2
Use multi-thread to "make" in Dockerfile to speedup build
2019-05-03 23:24:58 +08:00
Peter Dave Hello
1fec4f1690
Specify git clone depth in Dockerfile to speed up git cloning
2019-05-03 23:17:11 +08:00
Peter Dave Hello
234619c299
Clone libsodium with specify single branch in Dockerfile
2019-05-03 23:12:06 +08:00
Peter Dave Hello
1a86b71a87
Replace apk parameter --update
with --no-cache
to reduce size
2019-05-03 22:44:03 +08:00
Frank Denis
e14822a64f
Merge pull request #24 from kowalcj0/fix-missing-linux-headers
...
install linux-headers to fix missing linux/types.h during build
2019-03-23 17:38:53 +01:00