Commit Graph

25 Commits

Author SHA1 Message Date
DL6ER 99daddb2cb Use STATIC=true argument for make when we want a statically linked binary. The realization inside the musl container is done through an environment variable.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-19 03:53:02 +02:00
DL6ER 9ae9598912 Add comments into test suite.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 23:31:26 +02:00
DL6ER a3135c68e7 x86_64-musl: Add openssh-client for sftp and ssh-keyscan.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 22:42:10 +02:00
DL6ER b3fa8256f9 Also run tests using the 32 bit binary
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 21:21:40 +02:00
DL6ER 9696cfccf3 x86_64: Clean cache after apt-get install.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 21:10:45 +02:00
DL6ER d38faa6059 Add test commands (commented) to Dockerfile
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 20:45:11 +02:00
DL6ER ab7721b11a Generalize tests so they can be run both in the Alpine-based x86_64-musl and in the Debian-based x86_64 containers.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 19:56:24 +02:00
DL6ER 12dcf3e178 Use alpine:edge as basis for the musl building image.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-06-17 18:05:26 +02:00
Mcat12 2bda304a6d Add ghr to the docker build container
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-02-22 19:54:53 -08:00
DL6ER 678f0176b8 Merge pull request #489 from pi-hole/release/v4.2
Update development with v4.2 release fixes
2019-02-01 21:14:08 +01:00
Mcat12 5cedd29abd Add libcap.so.2.25 to the list of downloaded libraries
This libcap was taken from a Pi Zero, like the other libraries, so it
is the correct architecture.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-28 18:38:08 -08:00
Mcat12 2b0dcda704 Add libcap-dev to docker container and optimize container for changes
The `libcap-dev` dependency was installed from `libcap-dev:armhf`, but
it seems the compiler did not find it when compiling development builds,
causing the development arm build to fail. Before the armv6 change, the
dependency was installed as `libcap-dev`, so it has been changed back to
that since it works.

The package installation has been split into two sections, one for the
packages required to install the compiler and custom libraries, and the
second for the rest of the packages. The first section is earlier in
the container, as it does not change much, whereas the second section
changes more often then the compiler and libraries, so it is after both.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-28 17:49:22 -08:00
Mcat12 cb6eb3de9b Replace arm container with arm-rpi, delete arm-rpi
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-27 15:47:42 -08:00
Mcat12 75f4f99fae Update toolchain to recommended version
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-27 11:10:04 -08:00
Mcat12 ae4335a51b Add arm-rpi build
This build uses the Raspbian compiler, like the arm build on master
does. It seems to have fixed some nettle issues, but we previously saw
other issues with it. Because of this, it will temporarily be an
additional build.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-26 17:28:15 -08:00
DL6ER 72d91e8288 Merge branch 'release/v4.2' into update/devel_v4.2
Signed-off-by: DL6ER <dl6er@dl6er.de>

Conflicts:
	database.c
	docker/arm/Dockerfile
2019-01-24 10:18:27 +01:00
Mcat12 bfcaa9f412 Use armv6 soft-float for the arm build
There have been a few issues trying to support armv6 hard-float, notably
nettle crashes even when not using DNSSEC. This change will also
increase the amount of devices able to run FTL by supporting armv6
devices without hard-float. The performance impact is expected to be
low.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-19 13:52:43 -08:00
Mcat12 f8db82cbd2 Move -m32 flag from CI config to docker container
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-03 15:35:45 -05:00
Mcat12 31df63488f Fix arm library search path
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-03 15:16:15 -05:00
Mcat12 b0e5e17cd0 Use architecture-specific libcap-dev packages
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-03 12:25:40 -05:00
DL6ER ea6b4162ad Add libcap-dev to Dockerfiles
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-01-03 10:31:48 +01:00
Mcat12 509105c669 Use pre-compiled static libraries when building on arm (for Raspbian)
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-03-22 14:50:15 -04:00
Mcat12 3723554c12 Add libc to some docker containers
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-03-19 15:37:40 -04:00
Mcat12 c26a99234c Reorganize Dockerfiles and use Raspbian GCC for the arm arch
ppc64le was removed because the API is not able to support it, so it
doesn't make much sense to have FTL support it.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-03-19 15:22:57 -04:00
DL6ER a5fffed64d Add dockerfile
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-23 17:04:27 +01:00