docker-build 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker-build.rb +2 -2
- data/lib/symfony/symfony.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef59555d9cc48b2e4185c487108139f3ec549b0d
|
4
|
+
data.tar.gz: 793efb088a4ec5b8875b2e994e733643917acfaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb115b77986f8db82e61d456847dc02174f80e4c34151424b6dde65cb2ac514a0a8196d55c2e896e2ee991bc81792456e9e07b6c70c2ba7cf71c20ff34000ade
|
7
|
+
data.tar.gz: 8b005b0b830dc53b293a93c125224686c05356ba9a7791805e76f7c0d578dfc1ff5376df3828c35551ffbf718b9e2e5ba3d995e6236c7f7e0f669afd13f329ea
|
data/lib/docker-build.rb
CHANGED
data/lib/symfony/symfony.rb
CHANGED
@@ -3,6 +3,14 @@ class Symfony
|
|
3
3
|
def self.doctrine
|
4
4
|
Doctrine
|
5
5
|
end
|
6
|
+
|
7
|
+
def self.run_command(data_container, command)
|
8
|
+
docker_command = "docker run --rm --volumes-from #{data_container} vjftw/php-cli app/console --ansi #{command}"
|
9
|
+
|
10
|
+
puts docker_command
|
11
|
+
|
12
|
+
return `command`
|
13
|
+
end
|
6
14
|
end
|
7
15
|
|
8
16
|
require 'symfony/doctrine'
|