Commit graph

44 commits

Author SHA1 Message Date
3ddea40ba9 Switch to building recursively from this image itself
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-17 00:36:28 +02:00
c71efe9aff Revert to having a small "base" image
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-04-17 00:22:34 +02:00
1d95fad952 Revert "Remove "latest" Docker tag"
This reverts commit 9bb2b94778.
2020-04-17 00:21:27 +02:00
a04df8e4bc Copy mirrorlist before pacstrap-docker for docker cache
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 23:57:18 +02:00
8df03273a2 Create /dev/null in new root to prevent hangs
gnupg post install script does "dirmngr </dev/null &>/dev/null".
Since "pacman -r" does not mount any filesystems but it does chroot
into the new root, /dev/null does not exist, making the script hang
forever.
2020-04-16 23:55:17 +02:00
d408745d04 Remove typo
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-04-16 20:38:22 +02:00
83df93b48c Add x86_64 pipeline 2020-04-16 19:42:32 +02:00
ce4d6034af Remove unneeded scripts 2020-04-16 19:39:29 +02:00
babe6a2817 Add x86_64 Dockerfile 2020-04-16 19:36:22 +02:00
bf666b857a Move arch-specific stuff into their own subdirs 2020-04-16 19:35:58 +02:00
a3f9f98549 Apply aarch64 modifications to armv7h image too 2020-04-16 19:20:47 +02:00
9bb2b94778 Remove "latest" Docker tag 2020-04-16 19:19:26 +02:00
d5c19a4a44 Use alarm architecture names 2020-04-16 19:18:54 +02:00
c6d66e17e9 Copy mirrorlist so it's actually used during the build
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-04-16 19:00:01 +02:00
e3d42f8aff Use known-working mirrorlist
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-16 07:24:57 +02:00
9ec4daff66 Update mirrorlist
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-16 07:20:47 +02:00
e5e4c573fd Fix typo
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-16 06:38:02 +02:00
d58edeeaae Filter out qemu build nodes 2020-04-16 06:24:35 +02:00
7912560f69 Add drone config 2020-04-09 17:47:31 +02:00
f006396f70 Add base and base-devel 2020-04-09 17:47:20 +02:00
Stefan Agner
29b03839ad remove unnecessary umask 2019-01-24 16:15:09 +01:00
Stefan Agner
061773dd9f add die function for pacstrap-docker 2019-01-24 16:04:38 +01:00
Stefan Agner
2d4fde8457 Revert "update Docker before installing"
This reverts commit f49cea0bad.
2019-01-24 15:56:43 +01:00
Stefan Agner
6d55e5b725 remove group write bit to end up with the same we would with umask 022
This should solve the permission issue inside the container image.
2019-01-24 15:51:51 +01:00
Stefan Agner
eae4ebc122 Revert "more debugging prints"
This reverts commit 75e6c685d1.
2019-01-24 15:51:20 +01:00
Stefan Agner
f54bbc0fc7 Revert "add Docker repository to get latest Docker for Ubuntu 16.04"
This reverts commit 2525e86aed.

It seems not to help for the permission issue.
2019-01-24 15:49:29 +01:00
Stefan Agner
75e6c685d1 more debugging prints 2019-01-24 15:11:37 +01:00
Stefan Agner
69ed4c92b1 add ls -la commands to debug permission issue only seen on Travis CI 2019-01-24 14:56:47 +01:00
Stefan Agner
f463a85205 check pacstrap is run as root, print umask 2019-01-24 14:17:25 +01:00
Stefan Agner
2525e86aed add Docker repository to get latest Docker for Ubuntu 16.04 2019-01-24 13:46:58 +01:00
Stefan Agner
f49cea0bad update Docker before installing
It seems that Docker on Travis messes with the file permission settings
leading to errors such as this:
  warning: directory permissions differ on /usr/

Indeed, the permissions inside the containers are off:
  drwxrwxr-x  1 root root  4096 Jan 23 23:14 usr

I cannot reproduce this locally with Docker 18.09.1-ce. Try upgrading
Docker before installing.
2019-01-24 13:34:11 +01:00
Stefan Agner
974d718dd7 create .docker for Docker CLI configuration 2019-01-24 00:13:38 +01:00
Stefan Agner
e3333401b6 enable experimental CLI feature for docker manifest 2019-01-23 23:35:56 +01:00
Stefan Agner
d7fa5d96b3 add README.md 2019-01-23 23:32:21 +01:00
Stefan Agner
d5637d75ea use Docker manifest capabilities 2019-01-23 22:59:30 +01:00
Stefan Agner
b3d2f9d573 install manifest tool for deploy stage 2019-01-23 12:34:04 +01:00
Stefan Agner
c185d19ce9 add manifest 2019-01-23 12:22:29 +01:00
Stefan Agner
513ddd585f add manifest creation stage 2019-01-23 11:36:27 +01:00
Stefan Agner
a5e3bb63c2 prepare Qemu as root 2019-01-23 11:16:30 +01:00
Stefan Agner
662129b1b2 introduce script to prepare Qemu user emulation 2019-01-23 11:01:54 +01:00
Stefan Agner
24f5c91128 remove unnecessary pacman-key init 2019-01-23 10:47:34 +01:00
Stefan Agner
190c5265a6 fix docker push 2019-01-23 01:14:54 +01:00
Stefan Agner
c03280b09e Support AArch64 2019-01-23 01:08:08 +01:00
Stefan Agner
8dfabe4056 initial commit
Create Arch Linux ARM images using multi-stage Dockerfile. This
works well with binfmt emulation and allows to generate images
from scratch.

Inspiration taken from:
- https://github.com/archlinux/archlinux-docker
- https://github.com/lopsided98/archlinux
2019-01-23 00:31:17 +01:00