Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit 6ccb852

Browse files
committed
Merge pull request #22 from hypriot/update-docker-1.10
Update docker 1.10.0, docker-compose 1.6.0
2 parents 8f2adef + 92f02ea commit 6ccb852

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed

builder/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ IMAGE_NAME="sd-card-rpi-${IMAGE_VERSION}.img"
3030
# specific versions of kernel/firmware and docker tools
3131
export KERNEL_BUILD="20151102-222318"
3232
export KERNEL_VERSION="4.1.12"
33-
export DOCKER_ENGINE_VERSION="1.9.0-2"
34-
export DOCKER_COMPOSE_VERSION="1.5.1-74"
33+
export DOCKER_ENGINE_VERSION="1.10.0-1"
34+
export DOCKER_COMPOSE_VERSION="1.6.0-27"
3535
export DOCKER_MACHINE_VERSION="0.4.1-72"
3636

3737
# create build directory for assembling our image filesystem

builder/test-integration/spec/hypriotos-docker/docker-swarm_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
end
1111

1212
describe command('docker images hypriot/rpi-swarm') do
13-
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*483554c63182 / }
13+
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*5eab982fa301 / }
1414
its(:exit_status) { should eq 0 }
1515
end

builder/test-integration/spec/hypriotos-image/docker-compose_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
describe command('dpkg -l docker-compose') do
88
its(:stdout) { should match /ii docker-compose/ }
9-
its(:stdout) { should match /1.5.1-74/ }
9+
its(:stdout) { should match /1.6.0-27/ }
1010
its(:exit_status) { should eq 0 }
1111
end
1212

@@ -17,6 +17,6 @@
1717
end
1818

1919
describe command('docker-compose --version') do
20-
its(:stdout) { should match /1.5.1/m }
20+
its(:stdout) { should match /1.6.0/m }
2121
its(:exit_status) { should eq 0 }
2222
end

builder/test-integration/spec/hypriotos-image/docker_spec.rb

+6-12
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
describe command('dpkg -l docker-hypriot') do
88
its(:stdout) { should match /ii docker-hypriot/ }
9-
its(:stdout) { should match /1.9.0-2/ }
9+
its(:stdout) { should match /1.10.0-1/ }
1010
its(:exit_status) { should eq 0 }
1111
end
1212

@@ -37,19 +37,13 @@
3737

3838
describe file('/var/lib/docker') do
3939
it { should be_directory }
40-
it { should be_mode 700 }
40+
it { should be_mode 701 }
4141
it { should be_owned_by 'root' }
4242
end
4343

4444
describe file('/var/lib/docker/overlay') do
4545
it { should be_directory }
46-
it { should be_mode 755 }
47-
it { should be_owned_by 'root' }
48-
end
49-
50-
describe file('/var/lib/docker/repositories-overlay') do
51-
it { should be_file }
52-
it { should be_mode 600 }
46+
it { should be_mode 700 }
5347
it { should be_owned_by 'root' }
5448
end
5549

@@ -61,13 +55,13 @@
6155
end
6256

6357
describe command('docker -v') do
64-
its(:stdout) { should match /Docker version 1.9.0, build/ }
58+
its(:stdout) { should match /Docker version 1.10.0, build/ }
6559
its(:exit_status) { should eq 0 }
6660
end
6761

6862
describe command('docker version') do
69-
its(:stdout) { should match /Client:. Version: 1.9.0. API version: 1.21/m }
70-
its(:stdout) { should match /Server:. Version: 1.9.0. API version: 1.21/m }
63+
its(:stdout) { should match /Client:. Version: 1.10.0. API version: 1.22/m }
64+
its(:stdout) { should match /Server:. Version: 1.10.0. API version: 1.22/m }
7165
its(:exit_status) { should eq 0 }
7266
end
7367

0 commit comments

Comments
 (0)