mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
packaging ubuntu; issue #510: Use goland-stable PPA package to build docker
This commit is contained in:
parent
b38fc9fcdc
commit
15b85d9d76
3 changed files with 20 additions and 17 deletions
11
packaging/ubuntu/Vagrantfile
vendored
11
packaging/ubuntu/Vagrantfile
vendored
|
@ -1,12 +1,15 @@
|
||||||
BUILDBOT_IP = '192.168.33.32'
|
GOPHERS_KEY = "308C15A29AD198E9"
|
||||||
|
|
||||||
Vagrant::Config.run do |config|
|
Vagrant::Config.run do |config|
|
||||||
config.vm.box = 'precise64'
|
config.vm.box = 'precise64'
|
||||||
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
|
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
|
||||||
config.vm.share_folder 'v-data', '/data/docker', "#{File.dirname(__FILE__)}/../.."
|
config.vm.share_folder 'v-data', '/data/docker', "#{File.dirname(__FILE__)}/../.."
|
||||||
config.vm.network :hostonly,BUILDBOT_IP
|
|
||||||
|
|
||||||
|
# Add docker PPA key to the local repository and install docker
|
||||||
|
pkg_cmd = "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys #{GOPHERS_KEY}; " \
|
||||||
|
"echo 'deb http://ppa.launchpad.net/gophers/go/ubuntu precise main' >/etc/apt/sources.list.d/gophers-go.list; " \
|
||||||
# Install ubuntu packaging dependencies and create ubuntu packages
|
# Install ubuntu packaging dependencies and create ubuntu packages
|
||||||
config.vm.provision :shell, :inline => 'export DEBIAN_FRONTEND=noninteractive; apt-get -qq update; apt-get install -qq -y git debhelper autotools-dev devscripts golang'
|
pkg_cmd << "export DEBIAN_FRONTEND=noninteractive; apt-get -qq update; apt-get install -qq -y git debhelper autotools-dev devscripts golang-stable; " \
|
||||||
config.vm.provision :shell, :inline => "export GPG_KEY='#{ENV['GPG_KEY']}'; cd /data/docker/packaging/ubuntu; make ubuntu"
|
"export GPG_KEY='#{ENV['GPG_KEY']}'; cd /data/docker/packaging/ubuntu; make ubuntu"
|
||||||
|
config.vm.provision :shell, :inline => pkg_cmd
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,7 +2,7 @@ Source: lxc-docker
|
||||||
Section: misc
|
Section: misc
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Daniel Mizyrycki <daniel@dotcloud.com>
|
Maintainer: Daniel Mizyrycki <daniel@dotcloud.com>
|
||||||
Build-Depends: debhelper,autotools-dev,devscripts,golang
|
Build-Depends: debhelper,autotools-dev,devscripts,golang-stable
|
||||||
Standards-Version: 3.9.3
|
Standards-Version: 3.9.3
|
||||||
Homepage: http://github.com/dotcloud/docker
|
Homepage: http://github.com/dotcloud/docker
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue