From: SANDEEP KUMAR JAISAWAL Date: Wed, 9 Nov 2022 17:10:49 +0000 (+0530) Subject: Adding notebook build related changes X-Git-Tag: 1.0.0~6 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f62a4ceda17deed1b8e0e08a4d7b793a8a17a2fa;p=portal%2Faiml-dashboard.git Adding notebook build related changes Issue-id:AIMLWF-5 Signed-off-by: SANDEEP KUMAR JAISAWAL Change-Id: I298199ee500f16db7ace488d520bf3b44ac620ee --- diff --git a/kf-pipelines/Dockerfile b/kf-pipelines/Dockerfile new file mode 100644 index 0000000..b7775a4 --- /dev/null +++ b/kf-pipelines/Dockerfile @@ -0,0 +1,24 @@ +# ================================================================================== +# +# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved. +# +# Licensed 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 jupyter/scipy-notebook:notebook-6.4.3 +RUN python3 -m pip install --upgrade pip +RUN pip3 install kfp==1.4.0 +ENV TA_DIR ./work +RUN mkdir -p ${TA_DIR} +WORKDIR ${TA_DIR} +COPY *.ipynb . diff --git a/kf-pipelines/container-tag.yaml b/kf-pipelines/container-tag.yaml new file mode 100644 index 0000000..d23cae5 --- /dev/null +++ b/kf-pipelines/container-tag.yaml @@ -0,0 +1,21 @@ +# ================================================================================== +# +# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved. +# +# Licensed 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. +# +# ================================================================================== + # The Jenkins job requires a tag to build the Docker image. + # Global-JJB script assumes this file is in the repo root. +--- +tag: 1.0.0 \ No newline at end of file