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.
This commit is contained in:
Mark Turner 2014-02-28 16:08:06 -08:00
commit 5b09fe6af8
4 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ ADD requirements.txt /code/
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 file

@ -101,7 +101,7 @@ ADD . /code
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 file

@ -30,7 +30,7 @@ ADD Gemfile /myapp/Gemfile
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 file

@ -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: