Add a page for Docker installs
This commit is contained in:
@@ -80,6 +80,10 @@ def downloads_debian():
|
||||
def downloads_windows():
|
||||
return render_template('downloads/windows.html')
|
||||
|
||||
# Docker-specific page
|
||||
def downloads_docker():
|
||||
return render_template('downloads/docker.html')
|
||||
|
||||
# Firefox-specific page
|
||||
def downloads_firefox():
|
||||
# TODO: read mirror list or list of available files
|
||||
|
@@ -200,12 +200,11 @@ I2P connections.</p>
|
||||
{%- endtrans %}
|
||||
</pre></code>
|
||||
<a href="https://hub.docker.com/r/geti2p/i2p/">Docker Hub</a>
|
||||
|
||||
<div class="file">
|
||||
<a class="default" href="{{ get_url('downloads_docker') }}">{% trans %}Additional instructions for configuring your container can be found here.{% endtrans %}</a>
|
||||
</div>
|
||||
{% endcall %}
|
||||
|
||||
|
||||
|
||||
|
||||
{% call package('source') %}
|
||||
<p>{% trans monotoneurl=site_url('get-involved/guides/new-developers'),
|
||||
gitrepo='http://'+i2pconv('git.repo.i2p')+'/w/i2p.i2p.git',
|
||||
@@ -219,7 +218,7 @@ I2P connections.</p>
|
||||
{%- endtrans %}</p>
|
||||
<p>{% trans monotoneurl=site_url('get-involved/guides/new-developers'),
|
||||
github='https://github.com/i2p/i2p.android.base' -%}
|
||||
Android source is in <a href="{{ monotoneurl }}#getting-the-i2p-code">monotone</a>
|
||||
Android source is in <a href="{{ monotoneurl }}#getting-the-i2p-code">git</a>
|
||||
and on <a href="{{ github }}">Github</a>.
|
||||
Android builds require the I2P source.
|
||||
See the documentation in the Android source for additional build requirements and instructions.
|
||||
|
@@ -56,7 +56,7 @@
|
||||
{%- elif type == 'docker' -%}
|
||||
{%- set name = _('Docker') -%}
|
||||
{%- set icon = 'images/download/docker.png' -%}
|
||||
{%- set filename = '' -%}
|
||||
{%- set filename = 'Dockerfile' -%}
|
||||
{%- set hash = 'geti2p/i2p@sha256:e622209388edc49b99d8216baa731b1f54a0634c87cd47c1739f2188891daf3a' -%}
|
||||
{%- else -%}
|
||||
{%- if type == 'mac' -%}
|
||||
|
@@ -90,6 +90,7 @@ url('/<lang:lang>/browser/develop', 'browser.browser_develop')
|
||||
|
||||
url('/<lang:lang>/download', 'downloads.downloads_list')
|
||||
url('/<lang:lang>/download/debian', 'downloads.downloads_debian')
|
||||
url('/<lang:lang>/download/docker', 'downloads.downloads_docker')
|
||||
url('/<lang:lang>/download/windows', 'downloads.downloads_windows')
|
||||
url('/<lang:lang>/download/firefox', 'downloads.downloads_firefox')
|
||||
url('/<lang:lang>/download/config', 'downloads.downloads_config')
|
||||
|
Reference in New Issue
Block a user