Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing link to Dockerfile reference #119

Merged
merged 1 commit into from

2 participants

@amerine

I was browsing your docs and found the original Dockerfile reference link wasn't
correct (i.e. it was/is going to a 404/search page). I corrected the link here.

@amerine amerine Fixing link to Dockerfile reference
I was browsing your docs and found the original Dockerfile reference link wasn't
correct (i.e. it was/is going to a 404/search page). I corrected the link here.
5b09fe6
@aanand aanand merged commit 99bbb4a into docker:gh-pages
@aanand
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2014
  1. @amerine

    Fixing link to Dockerfile reference

    amerine authored
    I was browsing your docs and found the original Dockerfile reference link wasn't
    correct (i.e. it was/is going to a 404/search page). I corrected the link here.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +1 −1  django.html
  2. +1 −1  index.html
  3. +1 −1  rails.html
  4. +1 −1  wordpress.html
View
2  django.html
@@ -30,7 +30,7 @@
RUN pip install -r requirements.txt
ADD . /code/
</code></pre></div>
-<p>That&#39;ll install our application inside an image with Python installed alongside all of our Python dependencies. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/use/builder/">Dockerfile reference</a>.</p>
+<p>That&#39;ll install our application inside an image with Python installed alongside all of our Python dependencies. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/reference/builder/">Dockerfile reference</a>.</p>
<p>Second, we define our Python dependencies in a file called <code>requirements.txt</code>:</p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">Django
View
2  index.html
@@ -101,7 +101,7 @@
WORKDIR /code
RUN pip install -r requirements.txt
</code></pre></div>
-<p>This tells Docker to install Python, our code and our Python dependencies inside a Docker image. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/use/builder/">Dockerfile reference</a>.</p>
+<p>This tells Docker to install Python, our code and our Python dependencies inside a Docker image. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/reference/builder/">Dockerfile reference</a>.</p>
<p>We then define a set of services using <code>fig.yml</code>:</p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">web:
View
2  rails.html
@@ -30,7 +30,7 @@
RUN bundle install
ADD . /myapp
</code></pre></div>
-<p>That&#39;ll put our application code inside an image with Ruby, Bundler and all our dependencies. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/use/builder/">Dockerfile reference</a>.</p>
+<p>That&#39;ll put our application code inside an image with Ruby, Bundler and all our dependencies. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/reference/builder/">Dockerfile reference</a>.</p>
<p>Next, we have a bootstrap <code>Gemfile</code> which just loads Rails. It&#39;ll be overwritten in a moment by <code>rails new</code>.</p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">source &#39;https://rubygems.org&#39;
View
2  wordpress.html
@@ -26,7 +26,7 @@
<div class="highlight"><pre><code class="text language-text" data-lang="text">FROM orchardup/php5
ADD . /code
</code></pre></div>
-<p>This instructs Docker on how to build an image that contains PHP and Wordpress. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/use/builder/">Dockerfile reference</a>.</p>
+<p>This instructs Docker on how to build an image that contains PHP and Wordpress. For more information on how to write Dockerfiles, see the <a href="https://www.docker.io/learn/dockerfile/">Dockerfile tutorial</a> and the <a href="http://docs.docker.io/en/latest/reference/builder/">Dockerfile reference</a>.</p>
<p>Next up, <code>fig.yml</code> starts our web service and a separate MySQL instance:</p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">web:
Something went wrong with that request. Please try again.