rbdock 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbdock/version.rb +1 -1
- data/man/rbdock.1 +2 -2
- data/man/rbdock.1.html +2 -2
- data/templates/base_package/ubuntu.erb +23 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ebe111e77907e54eefa44fdf21ba70b69804f90
|
4
|
+
data.tar.gz: 0a3422ef717863a40f6fa92bce50753d989fd403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ea480ee2f01fdec6874f527895cd45df3b3a93a2e2619ad58041561dc669ecefdf16dc23693e801d0ea34b6291fc04bc9a44e4ae1dcbe84a321b2ccfe0df32c
|
7
|
+
data.tar.gz: 137f97a1be0a04e3fd750f829ed431efbfdfffcd6b0352c9c0940920916a6d1497ba93c76fe989f41ad628d4c4594b7b8e94c40bb02d08cb2038efdcedc45008
|
data/lib/rbdock/version.rb
CHANGED
data/man/rbdock.1
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
\fBrbdock\fR \fIruby\-versions\fR
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
|
-
\fBrbdock\fR is a simple command\-line tool for generating Dockerfile for Ruby, Ruby on Rails and Sinatra application\. It generate all most you need when you run Ruby application in docker container, so it\'s perfect for first point for starting to use docker with ruby\. It just generating Dockerfile, so you
|
13
|
+
\fBrbdock\fR is a simple command\-line tool for generating Dockerfile for Ruby, Ruby on Rails and Sinatra application\. It generate all most you need when you run Ruby application in docker container, so it\'s perfect for first point for starting to use docker with ruby\. It just generating Dockerfile, so you just edit it add your own setting\.
|
14
14
|
.
|
15
15
|
.SH "OPTIONS"
|
16
16
|
.
|
@@ -20,7 +20,7 @@ URL or path to your Rails or Sinatra application\.
|
|
20
20
|
.
|
21
21
|
.TP
|
22
22
|
\fB\-i\fR, \fB\-\-image\fR
|
23
|
-
Base image name\. You can use ubuntu or centos now\. By default,
|
23
|
+
Base image name\. You can use ubuntu or centos now\. By default, rbdock use ubuntu\.
|
24
24
|
.
|
25
25
|
.TP
|
26
26
|
\fB\-\-rbenv\fR
|
data/man/rbdock.1.html
CHANGED
@@ -79,13 +79,13 @@
|
|
79
79
|
|
80
80
|
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
81
81
|
|
82
|
-
<p><strong>rbdock</strong> is a simple command-line tool for generating Dockerfile for Ruby, Ruby on Rails and Sinatra application. It generate all most you need when you run Ruby application in docker container, so it's perfect for first point for starting to use docker with ruby. It just generating Dockerfile, so you
|
82
|
+
<p><strong>rbdock</strong> is a simple command-line tool for generating Dockerfile for Ruby, Ruby on Rails and Sinatra application. It generate all most you need when you run Ruby application in docker container, so it's perfect for first point for starting to use docker with ruby. It just generating Dockerfile, so you just edit it add your own setting.</p>
|
83
83
|
|
84
84
|
<h2 id="OPTIONS">OPTIONS</h2>
|
85
85
|
|
86
86
|
<dl>
|
87
87
|
<dt><code>-a URL</code>, <code>--app URL</code></dt><dd><p> URL or path to your Rails or Sinatra application.</p></dd>
|
88
|
-
<dt><code>-i</code>, <code>--image</code></dt><dd><p> Base image name. You can use ubuntu or centos now. By default,
|
88
|
+
<dt><code>-i</code>, <code>--image</code></dt><dd><p> Base image name. You can use ubuntu or centos now. By default, rbdock use ubuntu.</p></dd>
|
89
89
|
<dt class="flush"><code>--rbenv</code></dt><dd><p> Use rbenv for ruby version manager.</p></dd>
|
90
90
|
<dt class="flush"><code>--rvm</code></dt><dd><p> Use rvm for ruby version manager.</p></dd>
|
91
91
|
<dt><code>-o FILENAME</code>, <code>--output FILENAME</code></dt><dd><p> Output filename. By default, <strong>rbdock</strong> use Dockefile.</p></dd>
|
@@ -1,9 +1,26 @@
|
|
1
1
|
FROM ubuntu
|
2
2
|
|
3
|
-
# Install basic
|
4
|
-
RUN apt-get update
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
# Install basic dev tools
|
4
|
+
RUN apt-get update && apt-get install -y \
|
5
|
+
build-essential \
|
6
|
+
wget \
|
7
|
+
curl \
|
8
|
+
git
|
9
|
+
|
10
|
+
# Install package for ruby
|
11
|
+
RUN apt-get install -y \
|
12
|
+
zlib1g-dev \
|
13
|
+
libssl-dev \
|
14
|
+
libreadline-dev \
|
15
|
+
libyaml-dev \
|
16
|
+
libxml2-dev \
|
17
|
+
libxslt-dev
|
18
|
+
|
19
|
+
# Install package for sqlite3
|
20
|
+
RUN apt-get install -y \
|
21
|
+
sqlite3 \
|
22
|
+
libsqlite3-dev
|
23
|
+
|
24
|
+
# Install package for postgresql
|
25
|
+
RUN apt-get install -y libpq-dev
|
9
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbdock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tcnksm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubis
|