Chris Packham
30c3a44b4b
Add rsync dependency
...
Recent Linux kernels (5.3 and newer) use rsync to copy headers around.
Add the rsync package to the list of dependencies.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-06-09 20:58:21 +12:00
Chris Packham
612d374fbe
testing/docker: set default value for CTNG_UID/CTNG_GID
...
Make the creation of docker images easier so that CTNG_UID/CTNG_GID have
a default value if it's not explicitly specified when building. This
will allow publishing of images on various package repositories (e.g.
docker hub, gitlab containers). dmgr.sh can still be used to set the
UID/GID to that of the current user when building a custom container.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-02-17 20:07:20 +13:00
Alexey Neyman
b7a87769b9
Ignore trailing / in container name
...
... so that it is possible to use tab completion when selecting
the container to use.
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-03 16:12:38 -08:00
Alexey Neyman
025ae1ed89
Replace Ubuntu 19.04 with 19.10.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-03 16:12:38 -08:00
Alexey Neyman
2880fcc519
Replace Ubuntu 18.10 with Ubuntu 19.04
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:44 -07:00
Alexey Neyman
a90046a056
Install python3, needed by recent GLIBC
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-10 13:23:31 -07:00
Alexey Neyman
e4475c33df
Install python3 in Mint
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-17 11:28:54 -07:00
Alexey Neyman
3be2ba2f0d
Install python3 on Fedora29
...
GDB doesn't accept older 2.x as a valid choice.
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15 12:14:53 -07:00
Alexey Neyman
48489ebb9d
Note the experimental status of Alpine
...
I don't have the time to fix all the various breakages it shows.
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15 12:13:42 -07:00
Alexey Neyman
b9e3a7de9c
Use fedora29 as a reference
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-14 23:57:17 -07:00
Alexey Neyman
da11216f8d
Centos6 also needs python3
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-04 00:21:22 -08:00
Alexey Neyman
8d65fc7fc2
Detect errors in each container if running an action
...
... in more than one; then complain at the end.
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02 15:49:25 -08:00
Alexey Neyman
6cfdb71894
Install Python3 from EPEL on CentOS7
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02 15:48:39 -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
0aa6b2f033
Centos6 wasn't able to su into `ctng' user
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 09:58:11 -08:00
Alexey Neyman
a0fdc36be6
Seems like ArchLinux renamed its base on dockerhub
...
... awhile ago; I had it cached on one machine.
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 09:24:57 -08:00
Alexey Neyman
27423505bf
Archlinux: update keyring before packages
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 09:01:07 -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
b6c5ae2f17
Fix building archlinux image
...
`groupadd` now requires libaudit.so, but coreutils can be installed
without audit package. Weird, gross.
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:58:53 -08:00
Alexey Neyman
2748c96f33
Add g++ for Ubuntu dockers
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 19:58:22 -07:00
Alexey Neyman
6eb2a236a9
More docker files
...
... for reference OSes
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 11:28:13 -07: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
dc01f61898
Add libtool to CentOS6 docker configuration
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 14:51:15 -07:00
Alexey Neyman
cf7d68a8a4
Add CentOS7 docker configuration
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-22 14:44:38 -07:00
Alexey Neyman
21c0ab272a
Add the workaround for kconfig colors in archlinux
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-09 00:03:10 -07:00
Alexey Neyman
5c10c92ed4
Add wget
...
... so that Docker image creation can fetch dumb-init.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 08:44:39 -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
d573c15758
Use 'chmod a-x' instead of 'chmod -x'
...
There is a subtle difference when executable bit is a part of the umask.
And at least some versions (Debian/stretch) fail if the resulting mode
would've been different if not for the umask setting.
Fixes #998 .
Although, with such chmods/umasks it is likely that some package installation
will break anyway. But I'll leave it until somebody complains.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-26 23:54: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
b04bd52270
Add unzip to ArchLinux docker image
...
Needed by android sample.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 23:02:27 -07:00
Alexey Neyman
270eb003dc
Update help
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 12:06:54 -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