This is an automated email from the ASF dual-hosted git repository.
mhladun pushed a commit to branch 2.5.1-tensor-jupyterlab
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/2.5.1-tensor-jupyterlab by
this push:
new be281c0 created dockerfile template and description for
jupyterlab-tensor notebook
be281c0 is described below
commit be281c08c88180b0c0726d917bdea036a3e096c4
Author: Marian Hladun <[email protected]>
AuthorDate: Mon Feb 14 18:54:39 2022 +0200
created dockerfile template and description for jupyterlab-tensor notebook
---
.../general/files/aws/tensor-jupyterlab_Dockerfile | 45 ++++++++++++++++++++++
.../files/aws/tensor-jupyterlab_description.json | 21 ++++++++++
2 files changed, 66 insertions(+)
diff --git
a/infrastructure-provisioning/src/general/files/aws/tensor-jupyterlab_Dockerfile
b/infrastructure-provisioning/src/general/files/aws/tensor-jupyterlab_Dockerfile
new file mode 100644
index 0000000..b6e38f4
--- /dev/null
+++
b/infrastructure-provisioning/src/general/files/aws/tensor-jupyterlab_Dockerfile
@@ -0,0 +1,45 @@
+# *****************************************************************************
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
******************************************************************************
+
+
+FROM docker.datalab-base:latest
+
+ARG OS
+
+COPY tensor/ /root/
+COPY general/scripts/os/* /root/scripts/
+COPY general/scripts/aws/tensor_* /root/scripts/
+COPY general/lib/os/${OS}/notebook_lib.py
/usr/lib/python3.8/datalab/notebook_lib.py
+COPY general/templates/os/${OS}/jupyter-notebook.service /root/templates/
+COPY general/templates/os/${OS}/ungit.service /root/templates/
+COPY general/templates/os/notebook_spark-defaults_local.conf /root/templates/
+COPY general/templates/os/pyspark_local_template.json /root/templates/
+COPY general/templates/os/py3spark_local_template.json /root/templates/
+COPY general/templates/os/pyspark_dataengine_template.json /root/templates/
+COPY general/templates/os/tensorboard.service /root/templates/
+COPY general/templates/os/pyspark_dataengine-service_template.json
/root/templates/
+COPY general/templates/os/sparkmagic_config_template.json /root/templates/
+COPY general/templates/os/inactive.sh /root/templates/
+COPY general/templates/os/inactive.service /root/templates/
+COPY general/templates/os/inactive.timer /root/templates/
+
+RUN chmod a+x /root/fabfile.py; \
+ chmod a+x /root/scripts/*
diff --git
a/infrastructure-provisioning/src/general/files/aws/tensor-jupyterlab_description.json
b/infrastructure-provisioning/src/general/files/aws/tensor-jupyterlab_description.json
new file mode 100644
index 0000000..bba48b8
--- /dev/null
+++
b/infrastructure-provisioning/src/general/files/aws/tensor-jupyterlab_description.json
@@ -0,0 +1,21 @@
+{
+ "exploratory_environment_shapes" :
+ {
+ "Memory optimized": [
+ {"Size": "S", "Description": "r3.xlarge", "Type": "r3.xlarge","Ram":
"30.5 GB","Cpu": "4"}
+ ],
+ "Compute optimized": [
+ {"Size": "S", "Description": "c4.large", "Type": "c4.large","Ram": "3.75
GB","Cpu": "2"}
+ ]
+ },
+ "exploratory_environment_versions" :
+ [
+ {
+ "template_name": "Jupyterlab with TensorFlow 2.5.0",
+ "description": "Base image with TensorFlow and Jupyterlab node creation
routines",
+ "environment_type": "exploratory",
+ "version": "tensorflow-jupyterlab-2.5.0",
+ "vendor": "AWS"
+ }
+ ]
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]