Commit Graph

35 Commits

Author SHA1 Message Date
Olaf Meeuwissen d3530e7ea9 Fix permissions to match installed state 2017-08-18 10:54:25 +09:00
Olaf Meeuwissen 6d91ffcfb4 Silence warning if no /etc/apt/sources.list.d/* files exist 2017-08-17 20:32:23 +09:00
Olaf Meeuwissen ebe82f281e Remove package index files in all Dockerfiles consistently 2017-08-17 17:19:10 +09:00
Olaf Meeuwissen 5814d5ec82 Fix ownership issues of custom scripts 2017-08-17 17:13:35 +09:00
Olaf Meeuwissen 6595d68dd1 Fix overly zealous removal of APT state and cache files
Removal of the package index files, aka lists, is something that needs
to be done explicitly.  Doing so at `APT::Update::Post-Invoke` defeats
the purpose of running `apt-get update` in the first place.
2017-08-17 17:11:06 +09:00
Olaf Meeuwissen 280e7f4f56 Remove shell option not supported by CI build environment 2017-08-17 13:08:51 +09:00
Olaf Meeuwissen efe79ec5dd Drop non-portable shell option 2017-08-17 13:02:51 +09:00
Olaf Meeuwissen 74790bb4fc Add a verbatim copy of the full license text 2017-08-17 12:34:58 +09:00
Olaf Meeuwissen 0c7e997c1e Keep Docker contexts small 2017-08-17 12:30:38 +09:00
Olaf Meeuwissen 58d348885b Migrate build steps to shell scripts
This should make it a bit easier to test in a development setup.  It
may also simplify the scripting a little.
2017-08-17 12:30:11 +09:00
Olaf Meeuwissen 322f6c275e Decouple rootfs value from docker command-line invocation 2017-08-17 11:58:20 +09:00
Olaf Meeuwissen f6a4a08b69 Make bootstrap script more strict
It now exits on the first error and requires variables to be set.
2017-08-17 11:52:29 +09:00
Olaf Meeuwissen 910f6976dc Tweak debootstrap options
This forces signature checking of Release files and prevents symlinks
for `/{bin,sbin,lib}` to `/usr`.
2017-08-17 11:49:13 +09:00
Olaf Meeuwissen 0fa8b8505b Keep "flab" out of the image
This integrates a custom script into the APT configuration.  That same
script is also run during the bootstrap.  A second custom script takes
care of the integration and removes itself when done.

Complements 13f84159.
2017-08-17 11:36:04 +09:00
Olaf Meeuwissen 5aa1da98dd Use the correct variable to refer to the image version 2017-08-17 07:32:48 +09:00
Olaf Meeuwissen c61d8f3184 Push the base image required by the buildd derivative 2017-08-17 00:08:20 +09:00
Olaf Meeuwissen 8903f5de2f Fix base image name to refer to the right registry 2017-08-16 22:16:17 +09:00
Olaf Meeuwissen 4a04a4721a Add missing argument 2017-08-12 22:28:19 +09:00
Olaf Meeuwissen 644284f5cb Fix another typo :-( 2017-08-12 22:18:32 +09:00
Olaf Meeuwissen 18c95e1075 Fix typo 2017-08-12 22:07:47 +09:00
Olaf Meeuwissen 373ae74696 Add support for buildd derived images 2017-08-12 21:31:48 +09:00
Olaf Meeuwissen 13f84159bd Trim some very trivial "flab" 2017-08-11 00:24:11 +09:00
Olaf Meeuwissen 95525806d2 Sync documentation with current state of affairs
[ci skip]
2017-08-09 21:52:26 +09:00
Olaf Meeuwissen 6c44a604b1 Fix build failure
The CI_REGISTRY_IMAGE variable should not be eval'd.  In addition, it
seems safer to run the pipe in a subshell to avoid issues with the &&
chaining.
2017-08-09 21:38:32 +09:00
Olaf Meeuwissen e5dad3d29c Add a build phase to roll a "pristine" Devuan base image
This runs `debootstrap` in the devuan/migrated image.
2017-08-09 21:25:43 +09:00
Olaf Meeuwissen 052b61e1ed Add a script to debootstrap Devuan 2017-08-09 21:25:20 +09:00
Olaf Meeuwissen c2f90a4caf Use image namespacing rather than putting info in the version 2017-08-09 20:48:11 +09:00
Olaf Meeuwissen 4dabafcb6b Add a build status badge 2017-08-08 06:26:47 +09:00
Olaf Meeuwissen 9570fd1659 Add a "latest" tag so that the documented pull actually works 2017-08-08 06:23:31 +09:00
Olaf Meeuwissen 91e10f17ee Replace temporary archive key with devuan-keyring package 2017-08-08 06:13:52 +09:00
Olaf Meeuwissen da1586ef3d Fix SKS keyserver network connectivity errors
The keyserver spec is good but GitLab CI has trouble finding and/or
connecting to the server it gets.  Use an explicit copy of the key.
2017-08-08 06:08:05 +09:00
Olaf Meeuwissen 905a5137c6 Remove only files that apt-get downloaded 2017-08-07 21:48:06 +09:00
Olaf Meeuwissen 4f6df0618f Make apt-get output more suitable for logging purposes 2017-08-07 21:47:22 +09:00
Olaf Meeuwissen 12a8215e62 Access keyservers via HTTP
It seems GitLab.com builds block the default hkp port (11371).
2017-08-07 21:33:18 +09:00
Olaf Meeuwissen 0e7c45db5f Initial commit 2017-08-07 21:22:10 +09:00