capdocker 1.0.45 → 1.0.46

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: 4fde484850a7183a33c694c0acc29bda14287c8d
4
- data.tar.gz: 50c08ff083aed46b8bdde8d457396460f5cf83cc
3
+ metadata.gz: fd2e1a3c3283e057acb7d60b362e27e5b6218dc9
4
+ data.tar.gz: f92fcd6b27ee62b3ddb759793630ed2279a3cab7
5
5
  SHA512:
6
- metadata.gz: 38fe9abd09d881e575b9ada7cc6fd34da4066e24d13c16c80d6a1af090bc5abbce4d827873aca17aec7c5a4f0d3672b99362fa3d67e3a1bee188247f4dffa355
7
- data.tar.gz: 1008c3cc7743c09adf659beb1bc5fbc424479121a59c3e0d6f8177fb1dc473d2fbe0d78a94e4bdb74d63cb35eb40d04c8473763c068d55293b161341ac9f45b8
6
+ metadata.gz: 4d4d8070c32f5458c2d9dc443d3e4540785ec874740a60c02349865cc4d8d258fb46b9331d7e345c726cb3b2be89589dcde8c35c496ab5a8915968ab66c0a0b8
7
+ data.tar.gz: 552e29755ad90175d2b5c1c76287aab376caf1a26fd47a0951970e85987e16ca734ba47af80803ab2dd2fc7a061912e3c6ede89a2734f327e6aef0ee487233c6
data/capdocker.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{capdocker}
5
- s.version = "1.0.45"
5
+ s.version = "1.0.46"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.email = %q{ross@oneblackbear.com}
8
8
  s.date = Time.now
data/lib/docker.rb CHANGED
@@ -4,7 +4,7 @@ Capistrano::Configuration.instance(:must_exist).load do
4
4
 
5
5
  desc "build an updated box, restart container"
6
6
  task :build do
7
- run "docker build -q=true -t oneblackbear/#{application} containers/#{application}/"
7
+ run "docker build -t oneblackbear/#{application} containers/#{application}/"
8
8
  run "docker stop #{application}"
9
9
  run "docker rm #{application}"
10
10
  run build_run_command
@@ -28,6 +28,7 @@ RUN apt-get update
28
28
  RUN apt-get -y install mariadb-server
29
29
  RUN sed -i 's/^innodb_flush_method/#innodb_flush_method/' /etc/mysql/my.cnf
30
30
  RUN sed -i "/^datadir*/ s|=.*|=/data/mysql|" /etc/mysql/my.cnf
31
+ RUN chown -R mysql:mysql /data/mysql
31
32
 
32
33
  # Install nginx
33
34
  RUN apt-get -y install nginx
@@ -56,5 +57,5 @@ RUN chown -R www-data:www-data /var/www
56
57
  RUN cd /var/www/ && composer install
57
58
 
58
59
  #And Start
59
- CMD chown -R mysql:mysql /data/mysql; service mysql start; php5-fpm; nginx -c /etc/nginx/nginx.conf
60
+ CMD service mysql start; php5-fpm; nginx -c /etc/nginx/nginx.conf
60
61
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capdocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.45
4
+ version: 1.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-10 00:00:00.000000000 Z
12
+ date: 2013-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano