25 Commits

Author SHA1 Message Date
Santiago Torres
ebcde63f6c
FIX:Dockerfile/Makefile: fix ci-test requirements
The old Dockerfile and Makefile pair didn't meet the requirements of the
ci-test. Namely, the (very sensible )requirement of not shipping a
private key was missing, the sysusers hook wasn't executed properly and
the /var/cache/pacman/pkg folder was remoed (and it's specified in the
pacman MTREE package)
2018-06-04 14:04:27 -04:00
Santiago Torres
f65025bafe
FIX:fix docker build commands
I commited the wrong Dockerfile.
2018-06-04 13:17:30 -04:00
Santiago Torres
602cda864e
FIX: add fakeroot and fakechroot deps for ci-test 2018-06-04 12:43:19 -04:00
Christian Rebischke
b040116481
removed fakechroot again 2018-06-04 17:25:51 +02:00
Christian Rebischke
5e9c8ffad0
added fakechroot as dependency for ci-test 2018-06-04 17:21:38 +02:00
Santiago Torres
6f95231859
FIX:Makefile: add PWD environment variable
The previous makefile assumed that PWD was populated. This doesn't
happen in certain cases (e.g., when running as a systemd unit). Make
sure we have the PWD variable set before running any target.
2018-06-03 21:38:45 -04:00
Santiago Torres
0afc2ce276
ENH: update root-less build
This commit adds:

- Systemd sysusers hook is ran on the dockerfile
- The dockerfile also populates the archlinux keyring
- Remove the libalpm hooks as they are uneccessary now
- Moved the package cleanup before the tar step on the makefile
2018-04-17 20:05:57 -04:00
Santiago Torres
6b583c70e7
WIP: Makefile: allow for rootless build 2018-03-27 00:48:01 -04:00
Santiago Torres
0535b255ae
ENH: makefile/Dockerfile: allow for non-root build
The old makefile required commands to be run as a superuser, which
may become problematic when deploying on the archlinux infrastructure.
Use fakeroot and regular pacman commands to allow for to bootstrap a
rootfs.
2018-03-23 20:55:32 -04:00
Pierre Schmitz
eec02f2ea9 Only push the current image 2018-03-01 16:39:55 +01:00
Pierre Schmitz
53f5937db4 GH-4: Set default locale to en_US.UTF-8 2017-12-30 18:39:02 +01:00
Pierre Schmitz
73077cd828 Clean environment variables for pacstrap 2017-12-30 17:53:08 +01:00
Pierre Schmitz
9ebd50e553 Add systemd to create system users 2017-12-30 14:25:36 +01:00
Pierre Schmitz
592e77d843 Move image to archlinux organization on dockerhub 2017-05-26 09:57:51 +02:00
Pierre Schmitz
aa8caba05a Use /run and not the symlink /var/run 2017-04-23 20:09:29 +02:00
Pierre Schmitz
a4aeaa2eb2 Use image variable for test as well 2017-04-23 16:48:06 +02:00
Pierre Schmitz
5f4ad22705 Mount /run/shm to allow build on Ubuntu 2017-04-23 16:38:24 +02:00
Pierre Schmitz
b29d8f224c Use tmpfs 2017-04-23 16:03:22 +02:00
Pierre Schmitz
8e7540ea9b Update the image before building a new one 2017-04-23 15:41:45 +02:00
Pierre Schmitz
20739c17b4 Add self test that can be run by travis 2017-04-23 15:36:09 +02:00
Pierre Schmitz
4aa93742cb Ensure that the image does not include a private key 2017-04-23 15:11:34 +02:00
Pierre Schmitz
9a19fbb335 Fix permissions and add basic image test 2017-04-15 21:14:45 +02:00
Pierre Schmitz
fd90632ef2 Add task to push local image 2017-04-10 17:26:33 +02:00
Pierre Schmitz
4a03bbb541 Use pacman.conf from devtools 2017-04-10 17:26:33 +02:00
Pierre Schmitz
f5bf444d43 Add initial implementation 2017-04-08 18:10:19 +02:00