Skip to content

Commit

Permalink
Upgrade Docker tab to be a main platform tab on the download page
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Mar 23, 2018
1 parent 1073f55 commit dbd4bab
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 28 deletions.
46 changes: 23 additions & 23 deletions _includes/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ <h5>The latest {{ include.releasename }} Mono release is: <strong>{{ include.rel
<dd class="active"><a href="#download-mac"><i class="fa fa-apple"></i>&nbsp;Mac OS X</a></dd>
<dd><a href="#download-lin"><i class="fa fa-linux"></i>&nbsp;Linux</a></dd>
<dd><a href="#download-win"><i class="fa fa-windows"></i>&nbsp;Windows</a></dd>
{% if include.releasename == "Stable" %}
<dd><a href="#download-docker"><i class="fa fa-docker" />&nbsp;Docker</a></dd>
{% endif %}
</dl>

<div class="tabs-content" id="mono-download-panel">
Expand Down Expand Up @@ -81,9 +84,6 @@ <h3>Mono for Mac OS X is available as a Mac Package (.pkg)</h3>
<dd><a href="#download-lin-raspbian"><img src="/images/raspbian-logo.svg" height="20px" width="20px" alt="Raspbian Logo" />&nbsp;&nbsp;Raspbian</a></dd>
<dd><a href="#download-lin-centos"><img src="/images/centos-logo.svg" height="20px" width="20px" alt="CentOS Logo" />&nbsp;&nbsp;CentOS</a></dd>
<dd><a href="#download-lin-fedora"><img src="/images/fedora-logo.svg" height="20px" width="20px" alt="Fedora Logo" />&nbsp;&nbsp;Fedora</a></dd>
{% if include.releasename == "Stable" %}
<dd><a href="#download-lin-docker"><img src="/images/docker-logo.svg" height="20px" width="20px" alt="Docker Logo" />&nbsp;&nbsp;Docker</a></dd>
{% endif %}
</dl>
<div class="tabs-content horizontal">
<div class="panel content panel-subcontainer active" id="download-lin-ubuntu">
Expand Down Expand Up @@ -335,26 +335,6 @@ <h2>
</h2>
<p>After the installation completed successfully, it's a good idea to run through the basic hello world examples on <a href="/docs/getting-started/mono-basics/">this page</a> to verify Mono is working correctly.</p>
</div>
{% if include.releasename == "Stable" %}
<div class="panel content panel-subcontainer" id="download-lin-docker">
<h3>Mono is available on <a href="https://hub.docker.com/_/mono/">Docker Hub</a></h3>
<p>The simplest way to get started is:</p>
<pre><code class="language-bash">$ docker run -it mono:latest bash</code></pre>
<p>This will download the latest Mono Docker image, create a container and put you into an interactive shell.</p>
<h3>Available tags</h3>
<p>There are several tags for selecting the desired Mono version:</p>
<ul>
<li><code>latest</code> - Always points to the latest release</li>
<li><code>X.X.X.X</code> - points to a specific version, e.g. 5.8.0.108</li>
<li><code>X.X.X</code> - points to the latest version in the X.X.X series, e.g. 5.8.0</li>
<li><code>X.X</code> - points to the latest version in the X.X series, e.g. 5.8</li>
<li><code>X</code> - points to the latest version in the X series, e.g. 5</li>
</ul>
<p>The latest version, one minor version before that and the last version before a major version bump are periodically rebuilt by Docker Hub to pull in updates from the base Debian image.</p>
<p>All other version tags are still available, but won't get those updates so you need to keep your images up to date by running apt-get update yourself. We encourage you to move to latest Mono releases as soon as they're available.</p>
<p>Starting with Mono 5.2 we provide a slim variant (e.g. <code>latest-slim</code>) which only contains the bare minimum to run a simple console app. You can use this as a base and add just what you need.</p>
</div>
{% endif %}
</div>
</div>
<div class="panel content" id="download-win">
Expand All @@ -381,6 +361,26 @@ <h5>GTK# for .NET</h5>
</div>
{% endif %}
</div>
{% if include.releasename == "Stable" %}
<div class="panel content" id="download-docker">
<h3>Mono is available on <a href="https://hub.docker.com/_/mono/">Docker Hub</a></h3>
<p>The simplest way to get started is:</p>
<pre><code class="language-bash">$ docker run -it mono:latest bash</code></pre>
<p>This will download the latest Mono Docker image, create a container and put you into an interactive shell.</p>
<h3>Available tags</h3>
<p>There are several tags for selecting the desired Mono version:</p>
<ul>
<li><code>latest</code> - Always points to the latest release</li>
<li><code>X.X.X.X</code> - points to a specific version, e.g. 5.8.0.108</li>
<li><code>X.X.X</code> - points to the latest version in the X.X.X series, e.g. 5.8.0</li>
<li><code>X.X</code> - points to the latest version in the X.X series, e.g. 5.8</li>
<li><code>X</code> - points to the latest version in the X series, e.g. 5</li>
</ul>
<p>The latest version, one minor version before that and the last version before a major version bump are periodically rebuilt by Docker Hub to pull in updates from the base Debian image.</p>
<p>All other version tags are still available, but won't get those updates so you need to keep your images up to date by running apt-get update yourself. We encourage you to move to latest Mono releases as soon as they're available.</p>
<p>Starting with Mono 5.2 we provide a slim variant (e.g. <code>latest-slim</code>) which only contains the bare minimum to run a simple console app. You can use this as a base and add just what you need.</p>
</div>
{% endif %}
</div>

<h2>Release Notes</h2>
Expand Down
6 changes: 1 addition & 5 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,14 @@ footer h6 a {
line-height: 0.9em;
}

#download-mac, #download-lin, #download-win {
#download-mac, #download-lin, #download-win, #download-docker {
padding: 20px 10px 10px 10px;
}

#download-lin {
padding-top: 10px;
}

#download-lin-docker {
padding-top: 20px;
}

a.button-less-important {
background-color: #999;
}
Expand Down

0 comments on commit dbd4bab

Please sign in to comment.