dapp 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 442f21d5a2d84a60587d83bf4e3578622d079c17
4
- data.tar.gz: f63c5c35c355eca4929c7a3f7fe1670d4f12fb16
3
+ metadata.gz: 91d2dcd059d9a2d2e2da0c199cd3843be6b64e50
4
+ data.tar.gz: 4b9b0d03cebcc1f19c5dd53405621119609eb463
5
5
  SHA512:
6
- metadata.gz: c56953614a510d5e1124080719375ac5c31545ad660f36749050f37918f7bdc3d90791e44b0a171f9099b7d1fc5723dd85a32814d85a47a87d9bae7b8ad8bbe7
7
- data.tar.gz: d6c837e5d2d90544195a03f32c03a76167e23fab91c3f6bd803534987443ccaca06da497627ae6c96be3248a26aef127eff7bbeaa79353203e694b3a8bd3b0ce
6
+ metadata.gz: f41ded8f616a4a80f3c40fa900cb92651b50065347e36c802c401890c866c15edf29c4907f77a1b28ba671d748f10366b56df9b2a2e5742a1f96c7952b8b25b3
7
+ data.tar.gz: 838792fa11746e2dfa906c7a3582747610868e2560e2f73b5b4de8c34e0a8b48278d43511aed917d7f8c6d81c53a5032e42dc6f1c74cbd5379bfb8185f489508
@@ -4,7 +4,7 @@ module Dapp
4
4
  # SystemShellout
5
5
  module SystemShellout
6
6
  SYSTEM_SHELLOUT_IMAGE = 'ubuntu:14.04'
7
- SYSTEM_SHELLOUT_VERSION = 2
7
+ SYSTEM_SHELLOUT_VERSION = 3
8
8
 
9
9
  def system_shellout_container_name
10
10
  "dapp_system_shellout_#{hashsum [SYSTEM_SHELLOUT_VERSION,
@@ -25,11 +25,16 @@ module Dapp
25
25
 
26
26
  shellout! ["docker exec #{system_shellout_container_name}",
27
27
  "bash -ec '#{[
28
+ 'export DEBIAN_FRONTEND=noninteractive',
28
29
  'mkdir -p /.system_shellout_root/.dapp',
29
30
  'mount --rbind /.dapp /.system_shellout_root/.dapp',
31
+ # KOSTYL 0.5 only {
30
32
  'mount --rbind /usr/bin /.system_shellout_root/usr/bin',
33
+ 'mount --rbind /.system_shellout_root/sys /sys',
34
+ 'if [ -d /sys/fs/selinux ] ; then mount -o remount,ro,bind /sys/fs/selinux ; fi',
31
35
  'apt-get update -qq',
32
- 'apt-get install -qq openssh-client',
36
+ 'apt-get install -qq openssh-client'
37
+ # } KOSTYL 0.5 only
33
38
  ].join(' && ')}'"].join(' ')
34
39
  end
35
40
  end
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  module Dapp
3
- VERSION = '0.5.9'.freeze
3
+ VERSION = '0.5.10'.freeze
4
4
  BUILD_CACHE_VERSION = 3
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov