Commit Graph

9 Commits

Author SHA1 Message Date
Alexey Neyman
5411e69b91 Update the docker containers
To avoid proliferation of versions, I suggest the following policy: the
oldest LTS release still receiving maintenance updates + the most recent
release for distributions that offer LTS releases.

For CentOS, this means CentOS7 and CentOS Stream 9 (since CentOS are all
"long-term support", this is just the oldest and the newest among
currently supported).

For Ubuntu, this means Ubuntu 18.04 (previous LTS are in "security fixes
only" mode) and Ubuntu 21.10. Recent Ubuntu attempts to be interactive
during the configuration of tzdata, required some additional setup.

In the common installation script, the logic for handling a
configured/built local directory breaks if `gmake` is detected as the
make binary; `make distclean` then fails inside the container because
not all systems have `gmake` symlink. Remove that attempt of a
workaround completely, just require that the host directory is clean.

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Alexey Neyman
28e311d2b9 Allow already configured directories
... while building in docker

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 17:13:12 -08:00
Alexey Neyman
d40237cba4 Add a Dockerfile for Alpine Linux 3.8
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-22 00:21:14 -08:00
Alexey Neyman
9d43246664 Change the layout a bit
... to a more natural installation paths, and also include ct-ng into
$PATH in the containers.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 10:44:22 -07:00
Alexey Neyman
9d7c783a93 Make dockerfiles a bit more consistent
... and add Mint 19 and CentOS 6. The latter currently fails in
ctng's configure due to an old libtool; need to make libtool
optional.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28 11:53:55 -07:00
Alexey Neyman
bd60424e09 Add the ability to run some but not all samples in docker
Also, build containers with --no-cache: distributions like ArchLinux
retire their packages very quickly, need to always use up-to-date
package databases.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 23:03:26 -07:00
Alexey Neyman
f6d8c2ffbd Add docker testing for Gentoo
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 12:06:54 -07:00
Alexey Neyman
345dc4161d Testing works for archlinux docker
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 20:24:39 -07:00
Alexey Neyman
715d6376bf First stab at docker-based test framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 14:29:09 -07:00