Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ubuntu-xenial aarch64 Dockerfile #25

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

seemethere
Copy link
Contributor

Signed-off-by: Eli Uriegas [email protected]

@alexellis
Copy link

We don't have official binary golang 1.7.5 tarballs for ARM64, eigher for Go or

FYI there is an official Go 1.9 beta binary available for ARM64 now. The project said that if it gets tested by the community they will continue with ARM64 binaries. Given the note above this could be useful for Docker CE etc.

@seemethere
Copy link
Contributor Author

@alexellis, The new Go 1.9 beta binaries do build docker-ce successfully on aarch64 but we'll be compiling Go 1.8.3 from source until the core team can vet that Go 1.9 doesn't break any functionality.

@alexellis
Copy link

I know the Go version is 1.8.x The comment was as an FYI.

@rogaha
Copy link
Contributor

rogaha commented Jul 6, 2017

@seemethere it seems that we need to add a dependency there:

root@docker-aarch64:~/docker-ce-packaging/deb/debbuild/ubuntu-xenial# dpkg -i docker-ce_17.06.0~ce-0~ubuntu_arm64.deb
(Reading database ... 21956 files and directories currently installed.)
Preparing to unpack docker-ce_17.06.0~ce-0~ubuntu_arm64.deb ...
Unpacking docker-ce (17.06.0~ce-0~ubuntu) ...
dpkg: dependency problems prevent configuration of docker-ce:
 docker-ce depends on libltdl7 (>= 2.4.6); however:
  Package libltdl7 is not installed.

dpkg: error processing package docker-ce (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 docker-ce
root@docker-aarch64:~/docker-ce-packaging/deb/debbuild/ubuntu-xenial# apt-get install libltdl7
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libltdl7
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 35.5 kB of archives.
After this operation, 80.9 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 libltdl7 arm64 2.4.6-0.1 [35.5 kB]
Fetched 35.5 kB in 0s (1,010 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.)
debconf: falling back to frontend: Readline
Selecting previously unselected package libltdl7:arm64.
(Reading database ... 22165 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.6-0.1_arm64.deb ...
Unpacking libltdl7:arm64 (2.4.6-0.1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up libltdl7:arm64 (2.4.6-0.1) ...
Setting up docker-ce (17.06.0~ce-0~ubuntu) ...
Installing new version of config file /etc/default/docker ...
Installing new version of config file /etc/init.d/docker ...
Installing new version of config file /etc/init/docker.conf ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu17) ...
root@docker-aarch64:~/docker-ce-packaging/deb/debbuild/ubuntu-xenial# dpkg -i docker-ce_17.06.0~ce-0~ubuntu_arm64.deb
(Reading database ... 22172 files and directories currently installed.)
Preparing to unpack docker-ce_17.06.0~ce-0~ubuntu_arm64.deb ...
Unpacking docker-ce (17.06.0~ce-0~ubuntu) over (17.06.0~ce-0~ubuntu) ...
Setting up docker-ce (17.06.0~ce-0~ubuntu) ...
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for man-db (2.7.5-1) ...
root@docker-aarch64:~/docker-ce-packaging/deb/debbuild/ubuntu-xenial#
root@docker-aarch64:~/docker-ce-packaging/deb/debbuild/ubuntu-xenial# docker version
Client:
 Version:      17.06.0-ce
 API version:  1.30
 Go version:   go1.8.3
 Git commit:   02c1d87
 Built:        Thu Jul  6 08:51:38 2017
 OS/Arch:      linux/arm64

Server:
 Version:      17.06.0-ce
 API version:  1.30 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   02c1d87
 Built:        Thu Jul  6 08:50:12 2017
 OS/Arch:      linux/arm64
 Experimental: false

@meyskens meyskens mentioned this pull request Jul 19, 2017

ENV GOPATH /go
ENV PATH /go/bin:/usr/src/go/bin:$PATH
ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and force pushed, plus rebased off of master

@seemethere seemethere force-pushed the add_aarch64_support branch from 7640713 to 94cbc76 Compare July 20, 2017 20:30
@andrewhsu
Copy link
Contributor

LGTM

@andrewhsu andrewhsu merged commit 9d7eb67 into docker:master Jul 20, 2017
@seemethere seemethere deleted the add_aarch64_support branch July 20, 2017 23:39
@ZeuAlex ZeuAlex mentioned this pull request Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants