mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Clarify step on creating a bootstrap gemfile
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
This commit is contained in:
@@ -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)
|
||||
and the [Dockerfile reference](/engine/reference/builder/).
|
||||
|
||||
Next, create a bootstrap `Gemfile` which just loads Rails. It'll be overwritten
|
||||
in a moment by `rails new`.
|
||||
Next, open an editor and create a bootstrap `Gemfile` which just loads Rails. This will be overwritten in a moment by `rails new`.
|
||||
|
||||
source 'https://rubygems.org'
|
||||
gem 'rails', '~>5'
|
||||
|
||||
Create an empty `Gemfile.lock` to build our `Dockerfile`.
|
||||
Create an empty `Gemfile.lock` file to build our `Dockerfile`.
|
||||
|
||||
```console
|
||||
$ touch Gemfile.lock
|
||||
|
||||
Reference in New Issue
Block a user