08-29-2017, 05:18 AM
Hello,
I'm trying to reproduce your work of re-creating the base image.
So far:
Burned the base image to sd card, booted the Pine64 (I have the 2GB version)
Doing everything on the Pine64
Installed some packages like make, locales, git
Ran the build-docker-engine.sh script and managed to create .deb packages for
I then installed the docker-ce by sudo dpkg -i docker-ce_17.07.0~ce~rc4-0~debian_arm64.deb
Then I proceeded to run the busybox script:
It seems that i should build first the aarch64-builder container so i did:
Where am I doing wrong?
It would help if you put a readme for noobs on github.
Regards,
Cezar
I'm trying to reproduce your work of re-creating the base image.
So far:
Burned the base image to sd card, booted the Pine64 (I have the 2GB version)
Doing everything on the Pine64
Installed some packages like make, locales, git
Ran the build-docker-engine.sh script and managed to create .deb packages for
Code:
pine@pine64-unknown:~/repos/pine64-mainline-project$ ls -lah output/output/
total 18M
drwxr-xr-x 2 pine pine 4.0K Aug 29 10:36 .
drwxr-xr-x 3 pine pine 4.0K Aug 29 10:36 ..
-rw-r--r-- 1 pine pine 18M Aug 29 10:36 docker-ce_17.07.0~ce~rc4-0~debian_arm64.deb
I then installed the docker-ce by sudo dpkg -i docker-ce_17.07.0~ce~rc4-0~debian_arm64.deb
Then I proceeded to run the busybox script:
Code:
pine@pine64-unknown:~/repos/pine64-mainline-project$ sudo ./build-busybox.sh
Unable to find image 'aarch64-builder:latest' locally
docker: Error response from daemon: pull access denied for aarch64-builder, repository does not exist or may require 'docker login'.
See 'docker run --help'.
It seems that i should build first the aarch64-builder container so i did:
Code:
pine@pine64-unknown:~/repos/pine64-mainline-project/docker$ sudo docker build aarch64-builder/
Sending build context to Docker daemon 2.048kB
Step 1/2 : FROM debian:stretch
---> a20fd0d59cf1
Step 2/2 : RUN apt-get update && apt-get install -y bc gcc-aarch64-linux-gnu device-tree-compiler git ca-certificates build-essential libc6-dev-arm64-cross wget fakeroot --no-install-recommends && rm -rf /var/lib/apt/lists/*
---> Running in c51e833e1d07
standard_init_linux.go:187: exec user process caused "exec format error"
The command '/bin/sh -c apt-get update && apt-get install -y bc gcc-aarch64-linux-gnu device-tree-compiler git ca-certificates build-essential libc6-dev-arm64-cross wget fakeroot --no-install-recommends && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
Where am I doing wrong?
It would help if you put a readme for noobs on github.
Regards,
Cezar