Add dockerfile for aarch64
authorCristina Pauna <cristina.pauna@enea.com>
Tue, 31 Jan 2017 14:14:12 +0000 (16:14 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Fri, 3 Feb 2017 09:04:26 +0000 (11:04 +0200)
commit53bd0a8001c874b2ec4ba8ab203c4f77329ba9ed
treeab3d4cf18bef8e2e780fd16795f1eda04c70844a
parent3976ba7e348a6eef3a114fab4f5af57325e292e2
Add dockerfile for aarch64

This commit allows building the functest image on aarch64 jenkins slave
The changes from the x86 dockerfile are:
- pull the aarch64 ubuntu image for docker
- add libjpeg-dev to the dependency list (needed for Pillow package)
- add bundler to gem because the version of ruby that is found is
  1.9.3p484 instead of 1.9.3-p551

 /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/
 rubygems/core_ext/kernel_require.rb:55:
 in `require': cannot load such file -- bundler  (LoadError)

- configure nokogiri to use system libraries because the packet
  used an outdated config.guess file
- get the npm packet for arm64; since there is no deb for it,
  I extracted the needed files from the arhives in the repo

Ported https://gerrit.opnfv.org/gerrit/#/c/27971/ to this file

Change-Id: Icedbc54a685534bde14769182250cd098f24a26a
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
docker/Dockerfile.aarch64 [new file with mode: 0644]