From f62a4ceda17deed1b8e0e08a4d7b793a8a17a2fa Mon Sep 17 00:00:00 2001 From: SANDEEP KUMAR JAISAWAL Date: Wed, 9 Nov 2022 22:40:49 +0530 Subject: [PATCH] Adding notebook build related changes Issue-id:AIMLWF-5 Signed-off-by: SANDEEP KUMAR JAISAWAL Change-Id: I298199ee500f16db7ace488d520bf3b44ac620ee --- kf-pipelines/Dockerfile | 24 ++++++++++++++++++++++++ kf-pipelines/container-tag.yaml | 21 +++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 kf-pipelines/Dockerfile create mode 100644 kf-pipelines/container-tag.yaml 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 -- 2.16.6