Add arm architectures to docker images
I'm trying to add the functionality of generating arm docker images & thought I'd post my experiences here for all to read.
After raising an arm64 gitlab-runner (docker) and configuring gitlab CI/CD, the migrate phase seems to pass without error.
Running with gitlab-runner 13.2.2 (a998cacd)
on arm64 docker runner 6BiuQGhr
Preparing the "docker" executor
01:08
Using Docker executor with image docker:latest ...
Starting service docker:dind ...
Pulling docker image docker:dind ...
Using docker image sha256:3673bc7e28b9179e81b079ddbbbd583e777feae0f3344e62502a4b07f19828b1 for docker:dind ...
Waiting for services to be up and running...
*** WARNING: Service runner-6biuqghr-project-20426616-concurrent-0-0ce1ea44bbd4531d-docker-0 probably didn't start properly.
Health check error:
service "runner-6biuqghr-project-20426616-concurrent-0-0ce1ea44bbd4531d-docker-0-wait-for-service" timeout
Health check container logs:
Service container logs:
2020-08-12T17:37:21.676144912Z Generating RSA private key, 4096 bit long modulus (2 primes)
2020-08-12T17:37:23.489106688Z ......................................................................................++++
2020-08-12T17:37:27.353622536Z ...........................................................................................................................................................................................++++
2020-08-12T17:37:27.354930000Z e is 65537 (0x010001)
2020-08-12T17:37:27.414898232Z Generating RSA private key, 4096 bit long modulus (2 primes)
2020-08-12T17:37:29.998855024Z ............................................................................................................................++++
2020-08-12T17:37:31.541639904Z .........................................................................++++
2020-08-12T17:37:31.542868176Z e is 65537 (0x010001)
2020-08-12T17:37:31.633848672Z Signature ok
2020-08-12T17:37:31.633894536Z subject=CN = docker:dind server
2020-08-12T17:37:31.634179944Z Getting CA Private Key
2020-08-12T17:37:31.689102576Z /certs/server/cert.pem: OK
2020-08-12T17:37:31.696045696Z Generating RSA private key, 4096 bit long modulus (2 primes)
2020-08-12T17:37:34.823357728Z .......................................................................................................................................................++++
2020-08-12T17:37:37.912405288Z .....................................................................................................................................................++++
2020-08-12T17:37:37.913672128Z e is 65537 (0x010001)
2020-08-12T17:37:37.998567024Z Signature ok
2020-08-12T17:37:37.998614376Z subject=CN = docker:dind client
2020-08-12T17:37:37.998903024Z Getting CA Private Key
2020-08-12T17:37:38.053803360Z /certs/client/cert.pem: OK
2020-08-12T17:37:38.060949608Z mount: permission denied (are you root?)
2020-08-12T17:37:38.061161232Z Could not mount /sys/kernel/security.
2020-08-12T17:37:38.061200952Z AppArmor detection and --privileged mode might break.
2020-08-12T17:37:38.063757496Z mount: permission denied (are you root?)
*********
Pulling docker image docker:latest ...
Using docker image sha256:ce9d55ae87f127a6b224b410a8841905175edf0a336ff35d8550d7bc304b37b4 for docker:latest ...
Preparing environment
00:04
Running on runner-6biuqghr-project-20426616-concurrent-0 via 7faf6ba31949...
Getting source from Git repository
00:06
Fetching changes...
Initialized empty Git repository in /builds/AdamPeterBurns/devuan/.git/
Created fresh repository.
Checking out 378fec17 as master...
Skipping Git submodules setup
Executing "step_script" stage of the job script
08:56
$ export DOCKER_HOST=tcp://172.17.0.1:2376
$ echo "$CI_REGISTRY_PASSWORD" | docker login --username "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
Login Succeeded
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
$ ./migrate.sh
debian-jessie-20180426: Pulling from adampeterburns/devuan/migrated
363cfded2ef3: Pulling fs layer
38a3259ca93d: Pulling fs layer
e6ebd840e278: Pulling fs layer
38a3259ca93d: Verifying Checksum
38a3259ca93d: Download complete
e6ebd840e278: Verifying Checksum
e6ebd840e278: Download complete
363cfded2ef3: Verifying Checksum
363cfded2ef3: Download complete
363cfded2ef3: Pull complete
38a3259ca93d: Pull complete
e6ebd840e278: Pull complete
Digest: sha256:02fc0e1943df5a6fc97ed6c45db33454f4da6b5401077256c1191418281b2cf1
Status: Downloaded newer image for registry.gitlab.com/adampeterburns/devuan/migrated:debian-jessie-20180426
registry.gitlab.com/adampeterburns/devuan/migrated:debian-jessie-20180426
Step 1/6 : ARG VERSION
Step 2/6 : FROM debian:${VERSION}
jessie-20180426: Pulling from library/debian
363cfded2ef3: Already exists
Digest: sha256:f29d0c98d94d6b2169c740d498091a9a8545fabfa37f2072b43a4361c10064fc
Status: Downloaded newer image for debian:jessie-20180426
---> 9245dedf7134
Step 3/6 : LABEL maintainer="Olaf Meeuwissen <paddy-hack@member.fsf.org>"
---> Running in b107ed8b67dd
Removing intermediate container b107ed8b67dd
---> 444530c4d0a3
Step 4/6 : COPY ./repository@devuan.org.asc /tmp/
---> b238f5c369e9
Step 5/6 : ARG SUITE
---> Running in 80adac280d93
Removing intermediate container 80adac280d93
---> f57dd21a749a
Step 6/6 : RUN url=http://archive.devuan.org/merged && echo "deb $url $SUITE main" > /etc/apt/sources.list && find /etc/apt/sources.list.d -type f -delete && apt-key add /tmp/repository@devuan.org.asc && apt-get update -q && DEBIAN_FRONTEND=noninteractive apt-get install devuan-keyring -q -y && apt-key --keyring /etc/apt/trusted.gpg del 541922FB && (rm /etc/apt/trusted.gpg~ || true) && DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -q -y && DEBIAN_FRONTEND=noninteractive apt-get --purge autoremove -q -y && rm /var/lib/apt/lists/*_dists_*
---> Running in e85f44762013
OK
Get:1 http://archive.devuan.org jessie InRelease [29.4 kB]
Get:2 http://archive.devuan.org jessie/main arm64 Packages [8597 kB]
Fetched 8627 kB in 11s (776 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
devuan-keyring
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 34.7 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Get:1 http://archive.devuan.org/merged/ jessie/main devuan-keyring all 2017.10.03 [34.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 34.7 kB in 0s (609 kB/s)
Selecting previously unselected package devuan-keyring.
(Reading database ... 7623 files and directories currently installed.)
Preparing to unpack .../devuan-keyring_2017.10.03_all.deb ...
Unpacking devuan-keyring (2017.10.03) ...
Setting up devuan-keyring (2017.10.03) ...
OK
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
acl adduser dmsetup libcryptsetup4 libdevmapper1.02.1 libgcrypt20
libgpg-error0 libkmod2 libncursesw5 libprocps3 libsystemd0 libudev1 procps
systemd udev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
systemd-sysv
The following NEW packages will be installed:
libfdisk1 sysvinit-core
The following packages will be upgraded:
base-files bsdutils gnupg gpgv init initscripts libblkid1 libmount1
libncurses5 libncursesw5 libprocps3 libsmartcols1 libtinfo5 libuuid1
lsb-base mount ncurses-base ncurses-bin perl-base procps sysv-rc
sysvinit-utils tzdata util-linux
24 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 6036 kB of archives.
After this operation, 1233 kB of additional disk space will be used.
Get:1 http://archive.devuan.org/merged/ jessie/main base-files arm64 8+devuan7 [89.3 kB]
Get:2 http://archive.devuan.org/merged/ jessie/main bsdutils arm64 1:2.26.2-6+devuan1 [97.4 kB]
Get:3 http://archive.devuan.org/merged/ jessie/main sysvinit-core arm64 2.88dsf-59.2+devuan2 [130 kB]
Get:4 http://archive.devuan.org/merged/ jessie/main sysv-rc all 2.88dsf-59.2+devuan2 [83.2 kB]
Get:5 http://archive.devuan.org/merged/ jessie/main sysvinit-utils arm64 2.88dsf-59.2+devuan2 [68.5 kB]
Get:6 http://archive.devuan.org/merged/ jessie/main libfdisk1 arm64 2.26.2-6+devuan1 [165 kB]
Get:7 http://archive.devuan.org/merged/ jessie/main initscripts arm64 2.88dsf-59.2+devuan2 [84.0 kB]
Get:8 http://archive.devuan.org/merged/ jessie/main util-linux arm64 2.26.2-6+devuan1 [785 kB]
Get:9 http://archive.devuan.org/merged/ jessie/main libuuid1 arm64 2.26.2-6+devuan1 [65.3 kB]
Get:10 http://archive.devuan.org/merged/ jessie/main libblkid1 arm64 2.26.2-6+devuan1 [141 kB]
Get:11 http://archive.devuan.org/merged/ jessie/main lsb-base all 4.1+devuan2 [26.8 kB]
Get:12 http://archive.devuan.org/merged/ jessie/main mount arm64 2.26.2-6+devuan1 [169 kB]
Get:13 http://archive.devuan.org/merged/ jessie/main init arm64 1.24+devuan1.0 [5640 B]
Get:14 http://archive.devuan.org/merged/ jessie/main libmount1 arm64 2.26.2-6+devuan1 [148 kB]
Get:15 http://archive.devuan.org/merged/ jessie/main libsmartcols1 arm64 2.26.2-6+devuan1 [103 kB]
Get:16 http://archive.devuan.org/merged/ jessie/main tzdata all 2018e-0+deb8u1 [233 kB]
Get:17 http://archive.devuan.org/merged/ jessie/main ncurses-bin arm64 5.9+20140913-1+deb8u3 [342 kB]
Get:18 http://archive.devuan.org/merged/ jessie/main perl-base arm64 5.20.2-3+deb8u11 [1073 kB]
Get:19 http://archive.devuan.org/merged/ jessie/main ncurses-base all 5.9+20140913-1+deb8u3 [222 kB]
Get:20 http://archive.devuan.org/merged/ jessie/main libtinfo5 arm64 5.9+20140913-1+deb8u3 [272 kB]
Get:21 http://archive.devuan.org/merged/ jessie/main libncursesw5 arm64 5.9+20140913-1+deb8u3 [97.9 kB]
Get:22 http://archive.devuan.org/merged/ jessie/main libncurses5 arm64 5.9+20140913-1+deb8u3 [77.1 kB]
Get:23 http://archive.devuan.org/merged/ jessie/main libprocps3 arm64 2:3.3.9-9+deb8u1 [52.9 kB]
Get:24 http://archive.devuan.org/merged/ jessie/main gpgv arm64 1.4.18-7+deb8u5 [185 kB]
Get:25 http://archive.devuan.org/merged/ jessie/main gnupg arm64 1.4.18-7+deb8u5 [1097 kB]
Get:26 http://archive.devuan.org/merged/ jessie/main procps arm64 2:3.3.9-9+deb8u1 [224 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 6036 kB in 2s (2485 kB/s)
(Reading database ... 7632 files and directories currently installed.)
Preparing to unpack .../base-files_8+devuan7_arm64.deb ...
Unpacking base-files (8+devuan7) over (8+deb8u10) ...
Setting up base-files (8+devuan7) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
(Reading database ... 7635 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.26.2-6+devuan1_arm64.deb ...
Unpacking bsdutils (1:2.26.2-6+devuan1) over (1:2.25.2-6) ...
Setting up bsdutils (1:2.26.2-6+devuan1) ...
dpkg: systemd-sysv: dependency problems, but removing anyway as you requested:
init depends on systemd-sysv | sysvinit-core | upstart; however:
Package systemd-sysv is to be removed.
Package sysvinit-core is not installed.
Package upstart is not installed.
(Reading database ... 7636 files and directories currently installed.)
Removing systemd-sysv (215-17+deb8u7) ...
Selecting previously unselected package sysvinit-core.
(Reading database ... 7619 files and directories currently installed.)
Preparing to unpack .../sysvinit-core_2.88dsf-59.2+devuan2_arm64.deb ...
Unpacking sysvinit-core (2.88dsf-59.2+devuan2) ...
Setting up sysvinit-core (2.88dsf-59.2+devuan2) ...
sysvinit: creating /run/initctl
sysvinit: restarting...init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
.init: timeout opening/writing control channel /run/initctl
failed.
(Reading database ... 7644 files and directories currently installed.)
Preparing to unpack .../sysv-rc_2.88dsf-59.2+devuan2_all.deb ...
Unpacking sysv-rc (2.88dsf-59.2+devuan2) over (2.88dsf-59) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up sysv-rc (2.88dsf-59.2+devuan2) ...
Selecting previously unselected package libfdisk1:arm64.
(Reading database ... 7644 files and directories currently installed.)
Preparing to unpack .../libfdisk1_2.26.2-6+devuan1_arm64.deb ...
Unpacking libfdisk1:arm64 (2.26.2-6+devuan1) ...
Setting up libfdisk1:arm64 (2.26.2-6+devuan1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7650 files and directories currently installed.)
Preparing to unpack .../util-linux_2.26.2-6+devuan1_arm64.deb ...
Unpacking util-linux (2.26.2-6+devuan1) over (2.25.2-6) ...
Replacing files in old package sysvinit-utils (2.88dsf-59) ...
Replacing files in old package initscripts (2.88dsf-59) ...
Preparing to unpack .../sysvinit-utils_2.88dsf-59.2+devuan2_arm64.deb ...
Unpacking sysvinit-utils (2.88dsf-59.2+devuan2) over (2.88dsf-59) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up sysvinit-utils (2.88dsf-59.2+devuan2) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../initscripts_2.88dsf-59.2+devuan2_arm64.deb ...
Unpacking initscripts (2.88dsf-59.2+devuan2) over (2.88dsf-59) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up initscripts (2.88dsf-59.2+devuan2) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.26.2-6+devuan1_arm64.deb ...
Unpacking libuuid1:arm64 (2.26.2-6+devuan1) over (2.25.2-6) ...
Setting up libuuid1:arm64 (2.26.2-6+devuan1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libblkid1_2.26.2-6+devuan1_arm64.deb ...
Unpacking libblkid1:arm64 (2.26.2-6+devuan1) over (2.25.2-6) ...
Setting up libblkid1:arm64 (2.26.2-6+devuan1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../lsb-base_4.1+devuan2_all.deb ...
Unpacking lsb-base (4.1+devuan2) over (4.1+Debian13+nmu1) ...
Setting up lsb-base (4.1+devuan2) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../tzdata_2018e-0+deb8u1_all.deb ...
Unpacking tzdata (2018e-0+deb8u1) over (2018d-0+deb8u1) ...
Setting up tzdata (2018e-0+deb8u1) ...
Current default time zone: 'Etc/UTC'
Local time is now: Wed Aug 12 17:43:23 UTC 2020.
Universal Time is now: Wed Aug 12 17:43:23 UTC 2020.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../mount_2.26.2-6+devuan1_arm64.deb ...
Unpacking mount (2.26.2-6+devuan1) over (2.25.2-6) ...
Setting up mount (2.26.2-6+devuan1) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../init_1.24+devuan1.0_arm64.deb ...
Unpacking init (1.24+devuan1.0) over (1.22) ...
Setting up init (1.24+devuan1.0) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../ncurses-bin_5.9+20140913-1+deb8u3_arm64.deb ...
Unpacking ncurses-bin (5.9+20140913-1+deb8u3) over (5.9+20140913-1+deb8u2) ...
Setting up ncurses-bin (5.9+20140913-1+deb8u3) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../perl-base_5.20.2-3+deb8u11_arm64.deb ...
Unpacking perl-base (5.20.2-3+deb8u11) over (5.20.2-3+deb8u10) ...
Setting up perl-base (5.20.2-3+deb8u11) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../ncurses-base_5.9+20140913-1+deb8u3_all.deb ...
Unpacking ncurses-base (5.9+20140913-1+deb8u3) over (5.9+20140913-1+deb8u2) ...
Setting up ncurses-base (5.9+20140913-1+deb8u3) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libtinfo5_5.9+20140913-1+deb8u3_arm64.deb ...
Unpacking libtinfo5:arm64 (5.9+20140913-1+deb8u3) over (5.9+20140913-1+deb8u2) ...
Setting up libtinfo5:arm64 (5.9+20140913-1+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libncursesw5_5.9+20140913-1+deb8u3_arm64.deb ...
Unpacking libncursesw5:arm64 (5.9+20140913-1+deb8u3) over (5.9+20140913-1+deb8u2) ...
Setting up libncursesw5:arm64 (5.9+20140913-1+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libncurses5_5.9+20140913-1+deb8u3_arm64.deb ...
Unpacking libncurses5:arm64 (5.9+20140913-1+deb8u3) over (5.9+20140913-1+deb8u2) ...
Setting up libncurses5:arm64 (5.9+20140913-1+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libprocps3_2%3a3.3.9-9+deb8u1_arm64.deb ...
Unpacking libprocps3:arm64 (2:3.3.9-9+deb8u1) over (2:3.3.9-9) ...
Setting up libprocps3:arm64 (2:3.3.9-9+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../gpgv_1.4.18-7+deb8u5_arm64.deb ...
Unpacking gpgv (1.4.18-7+deb8u5) over (1.4.18-7+deb8u4) ...
Setting up gpgv (1.4.18-7+deb8u5) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../gnupg_1.4.18-7+deb8u5_arm64.deb ...
Unpacking gnupg (1.4.18-7+deb8u5) over (1.4.18-7+deb8u4) ...
Setting up gnupg (1.4.18-7+deb8u5) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../procps_2%3a3.3.9-9+deb8u1_arm64.deb ...
invoke-rc.d: policy-rc.d denied execution of stop.
Unpacking procps (2:3.3.9-9+deb8u1) over (2:3.3.9-9) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up procps (2:3.3.9-9+deb8u1) ...
invoke-rc.d: policy-rc.d denied execution of start.
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libmount1_2.26.2-6+devuan1_arm64.deb ...
Unpacking libmount1:arm64 (2.26.2-6+devuan1) over (2.25.2-6) ...
Setting up libmount1:arm64 (2.26.2-6+devuan1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 7655 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.26.2-6+devuan1_arm64.deb ...
Unpacking libsmartcols1:arm64 (2.26.2-6+devuan1) over (2.25.2-6) ...
Setting up libsmartcols1:arm64 (2.26.2-6+devuan1) ...
Setting up util-linux (2.26.2-6+devuan1) ...
Installing new version of config file /etc/pam.d/runuser-l ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
acl* adduser* dmsetup* libcryptsetup4* libdevmapper1.02.1* libgcrypt20*
libgpg-error0* libkmod2* libncursesw5* libprocps3* libsystemd0* libudev1*
procps* systemd* udev*
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
After this operation, 20.8 MB disk space will be freed.
(Reading database ... 7655 files and directories currently installed.)
Removing systemd (215-17+deb8u7) ...
Purging configuration files for systemd (215-17+deb8u7) ...
dpkg: warning: while removing systemd, directory '/etc/systemd/system' not empty so not removed
Removing acl (2.2.52-2) ...
Removing udev (215-17+deb8u7) ...
Purging configuration files for udev (215-17+deb8u7) ...
Removing adduser (3.113+nmu3) ...
Purging configuration files for adduser (3.113+nmu3) ...
Removing libcryptsetup4:arm64 (2:1.6.6-5) ...
Purging configuration files for libcryptsetup4:arm64 (2:1.6.6-5) ...
Removing libsystemd0:arm64 (215-17+deb8u7) ...
Purging configuration files for libsystemd0:arm64 (215-17+deb8u7) ...
Removing libgcrypt20:arm64 (1.6.3-2+deb8u4) ...
Purging configuration files for libgcrypt20:arm64 (1.6.3-2+deb8u4) ...
Removing libgpg-error0:arm64 (1.17-3) ...
Purging configuration files for libgpg-error0:arm64 (1.17-3) ...
Removing libkmod2:arm64 (18-3) ...
Purging configuration files for libkmod2:arm64 (18-3) ...
Removing procps (2:3.3.9-9+deb8u1) ...
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for procps (2:3.3.9-9+deb8u1) ...
Removing libncursesw5:arm64 (5.9+20140913-1+deb8u3) ...
Purging configuration files for libncursesw5:arm64 (5.9+20140913-1+deb8u3) ...
Removing libprocps3:arm64 (2:3.3.9-9+deb8u1) ...
Purging configuration files for libprocps3:arm64 (2:3.3.9-9+deb8u1) ...
Removing libdevmapper1.02.1:arm64 (2:1.02.90-2.2+deb8u1) ...
Purging configuration files for libdevmapper1.02.1:arm64 (2:1.02.90-2.2+deb8u1) ...
Removing libudev1:arm64 (215-17+deb8u7) ...
Purging configuration files for libudev1:arm64 (215-17+deb8u7) ...
Removing dmsetup (2:1.02.90-2.2+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Removing intermediate container e85f44762013
---> 78308a7814c2
Successfully built 78308a7814c2
Successfully tagged registry.gitlab.com/adampeterburns/devuan/migrated:debian-jessie-20180426-2020-08-12
The push refers to repository [registry.gitlab.com/adampeterburns/devuan/migrated]
6001a78d8ff2: Preparing
702db77cc8b2: Preparing
363f5d392123: Preparing
363f5d392123: Layer already exists
702db77cc8b2: Pushed
6001a78d8ff2: Pushed
debian-jessie-20180426-2020-08-12: digest: sha256:27c111a14c2f14d4070e5f834291031eabbc86c2b5d7955d32cd3deb3ef58031 size: 948
The push refers to repository [registry.gitlab.com/adampeterburns/devuan/migrated]
6001a78d8ff2: Preparing
702db77cc8b2: Preparing
363f5d392123: Preparing
363f5d392123: Layer already exists
6001a78d8ff2: Layer already exists
702db77cc8b2: Layer already exists
debian-jessie-20180426: digest: sha256:27c111a14c2f14d4070e5f834291031eabbc86c2b5d7955d32cd3deb3ef58031 size: 948
Job succeeded
However, the build phase for all dists are currently erroring like this:
$ ./build.sh jessie
debian-jessie-20180426: Pulling from adampeterburns/devuan/migrated
Digest: sha256:27c111a14c2f14d4070e5f834291031eabbc86c2b5d7955d32cd3deb3ef58031
Status: Image is up to date for registry.gitlab.com/adampeterburns/devuan/migrated:debian-jessie-20180426
registry.gitlab.com/adampeterburns/devuan/migrated:debian-jessie-20180426
docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"./bootstrap.sh\": stat ./bootstrap.sh: no such file or directory": unknown.
If I flip the gitlab-runner back to a amd64 instance, all is working.
I'm not quite sure where the root cause of this may lie.
- differences in devuan across archs (I'll take this to the Devuan IRC channel)
- an earlier migration phase issue
- a scripting tweak required here, or
- an earlier ignorance or assumption on my part :-O
Comments/suggestions or any sort of encouragement highly valued!
Edited by Adam Burns