From 5c7b725590492fc5de9b5d4881d161f5f345716d Mon Sep 17 00:00:00 2001 From: smahana123 Date: Thu, 17 Nov 2022 17:22:25 +0530 Subject: [PATCH] Config Files for Leofs. Issue-Id: AIMLFW-4 Signed-off-by: smahana123 Change-Id: I23779b6cbbe32321dc73666e8f96f6a3ac011612 --- tools/leofs/Dockerfile.leofs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tools/leofs/Dockerfile.leofs diff --git a/tools/leofs/Dockerfile.leofs b/tools/leofs/Dockerfile.leofs new file mode 100644 index 0000000..1572567 --- /dev/null +++ b/tools/leofs/Dockerfile.leofs @@ -0,0 +1,36 @@ +# ================================================================================== +# +# 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. +# +# ================================================================================== + +#Base Image +FROM ubuntu:18.04 + +#FROM leoproject/leofs-package-ubuntu18.04:latest + +WORKDIR /root/deb/ + +RUN apt-get update && apt-get install -y wget +RUN apt-get -y install systemd +RUN apt-get install -y lsb-release +RUN apt-get install -y netcat-openbsd + +RUN wget https://github.com/leo-project/leofs/releases/download/1.4.3/leofs_1.4.3-1_ubuntu-18.04_amd64.deb + +COPY tools/leofs/bin/leofs_start.sh leofs_start.sh + +#Expose the ports +EXPOSE 8080 -- 2.16.6