Skip to content

Commit

Permalink
update docker image names
Browse files Browse the repository at this point in the history
  • Loading branch information
seddonm1 committed Jul 17, 2019
1 parent 0bc1f52 commit 079a83c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
8 changes: 6 additions & 2 deletions docs-src/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ pygmentsUseClasses=true
repo_url = "https://github.com/tripl-ai/arc"

image = "triplai/arc"
version = "2.0.0"
arc_jupyter_image= "triplai/arc-jupyter"
arc_jupyter_version = "0.0.14"

version = "2.0.0"
spark_version = "2.4.3"
scala_version = "2.11"
hadoop_version = "2.9.2"
arc_image_version = "1.0.0"
arc_jupyter_version = "1.0.0"
arc_jupyter_image_version = "1.0.0"

logo = "images/logo.png"
favicon = ""

Expand Down
2 changes: 1 addition & 1 deletion docs-src/layouts/shortcodes/arc_jupyter_docker_image.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ .Site.Params.arc_jupyter_image }}:{{ .Site.Params.arc_jupyter_version }}
{{ .Site.Params.arc_jupyter_image }}:arc-jupyter_{{ .Site.Params.arc_jupyter_version }}_scala_{{ .Site.Params.scala_version }}_{{ .Site.Params.arc_jupyter_image_version }}
2 changes: 1 addition & 1 deletion docs-src/layouts/shortcodes/docker_image.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ .Site.Params.image }}:arc_{{ .Site.Params.version }}_spark_{{ .Site.Params.spark_version }}_scala_{{ .Site.Params.scala_version }}_hadoop_{{ .Site.Params.hadoop_version }}
{{ .Site.Params.image }}:arc_{{ .Site.Params.version }}_spark_{{ .Site.Params.spark_version }}_scala_{{ .Site.Params.scala_version }}_hadoop_{{ .Site.Params.hadoop_version }}_{{ .Site.Params.arc_image_version }}
4 changes: 2 additions & 2 deletions docs/deploy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ <h2 id="running-a-job">Running a Job</h2>
<pre><code class="language-json">docker run \
-e &quot;ETL_CONF_ENV=production&quot; \
-e &quot;ETL_CONF_JOB_PATH=/opt/tutorial/basic/job/0&quot; \
-it -p 4040:4040 triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2 \
-it -p 4040:4040 triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2_1.0.0 \
bin/spark-submit \
--master local[*] \
--class ai.tripl.arc.ARC \
Expand Down Expand Up @@ -631,7 +631,7 @@ <h3 id="streaming">Streaming</h3>
-e &quot;ETL_CONF_ENV=test&quot; \
-e &quot;ETL_CONF_STREAMING=true&quot; \
-e &quot;ETL_CONF_ROWS_PER_SECOND=10&quot; \
-it -p 4040:4040 triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2 \
-it -p 4040:4040 triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2_1.0.0 \
bin/spark-submit \
--master local[*] \
--class ai.tripl.arc.ARC \
Expand Down
2 changes: 1 addition & 1 deletion docs/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ It is designed to:
<guid>https://arc.tripl.ai/deploy/</guid>
<description>Arc has been packaged as a Docker image to simplify deployment as a stateless process on cloud infrastructure. As there are multiple versions of Arc, Spark, Scala and Hadoop see the https://hub.docker.com/u/triplai for the relevant version.
Running a Job An example command to start a job is:
docker run \ -e &amp;quot;ETL_CONF_ENV=production&amp;quot; \ -e &amp;quot;ETL_CONF_JOB_PATH=/opt/tutorial/basic/job/0&amp;quot; \ -it -p 4040:4040 triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2 \ bin/spark-submit \ --master local[*] \ --class ai.tripl.arc.ARC \ /opt/spark/jars/arc.</description>
docker run \ -e &amp;quot;ETL_CONF_ENV=production&amp;quot; \ -e &amp;quot;ETL_CONF_JOB_PATH=/opt/tutorial/basic/job/0&amp;quot; \ -it -p 4040:4040 triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2_1.0.0 \ bin/spark-submit \ --master local[*] \ --class ai.tripl.arc.ARC \ /opt/spark/jars/arc.</description>
</item>

<item>
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ <h2 id="starting-jupyter">Starting Jupyter</h2>
-e JAVA_OPTS=&quot;-Xmx4096m&quot; \
-p 4040:4040 \
-p 8888:8888 \
triplai/arc-jupyter:0.0.14 \
triplai/arc-jupyter:arc-jupyter_1.0.0_scala_2.11_1.0.0 \
start-notebook.sh \
--NotebookApp.password='' \
--NotebookApp.token=''
Expand Down Expand Up @@ -824,7 +824,7 @@ <h2 id="execute-it">Execute It</h2>
-e &quot;ETL_CONF_ENV=production&quot; \
-e &quot;ETL_CONF_BASE_URL=/home/jovyan/tutorial&quot; \
-p 4040:4040 \
triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2 \
triplai/arc:arc_2.0.0_spark_2.4.3_scala_2.11_hadoop_2.9.2_1.0.0 \
bin/spark-submit \
--master local[*] \
--driver-memory=4G \
Expand Down

0 comments on commit 079a83c

Please sign in to comment.