mirror of https://github.com/docker/docs.git
Clarify step on creating a bootstrap gemfile
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
This commit is contained in:
parent
5bf7caf5cc
commit
549ccdb99b
|
@ -41,13 +41,12 @@ with Ruby, Bundler and all your dependencies inside it. For more information on
|
||||||
how to write Dockerfiles, see the [Docker user guide](../get-started/index.md)
|
how to write Dockerfiles, see the [Docker user guide](../get-started/index.md)
|
||||||
and the [Dockerfile reference](/engine/reference/builder/).
|
and the [Dockerfile reference](/engine/reference/builder/).
|
||||||
|
|
||||||
Next, create a bootstrap `Gemfile` which just loads Rails. It'll be overwritten
|
Next, open an editor and create a bootstrap `Gemfile` which just loads Rails. This will be overwritten in a moment by `rails new`.
|
||||||
in a moment by `rails new`.
|
|
||||||
|
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
gem 'rails', '~>5'
|
gem 'rails', '~>5'
|
||||||
|
|
||||||
Create an empty `Gemfile.lock` to build our `Dockerfile`.
|
Create an empty `Gemfile.lock` file to build our `Dockerfile`.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ touch Gemfile.lock
|
$ touch Gemfile.lock
|
||||||
|
|
Loading…
Reference in New Issue