From 41d953c3b5848421cb69d4ec6b78e808e5dea5ae Mon Sep 17 00:00:00 2001 From: kesavan thiruvenkadasamy Date: Wed, 20 Sep 2023 14:38:00 +0530 Subject: [PATCH] Added changes to install kopia from github assets Signed-off-by: kesavan thiruvenkadasamy --- Dockerfile.kopia | 5 ++--- kopia.repo | 6 ------ 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 kopia.repo diff --git a/Dockerfile.kopia b/Dockerfile.kopia index c833c728b..60950408f 100644 --- a/Dockerfile.kopia +++ b/Dockerfile.kopia @@ -5,11 +5,10 @@ MAINTAINER Portworx Inc. RUN microdnf install -y bash vim make wget gpg ca-certificates yum && \ microdnf clean all -RUN rpm --import https://kopia.io/signing-key +RUN curl -LJO https://github.com/kopia/kopia/releases/download/v0.10.6/kopia-0.10.6.x86_64.rpm -COPY kopia.repo /etc/yum.repos.d/kopia.repo +RUN yum install -y kopia-0.10.6.x86_64.rpm -RUN yum install -y kopia-0.10.6 WORKDIR / COPY ./bin/kopiaexecutor / diff --git a/kopia.repo b/kopia.repo deleted file mode 100644 index 59381b207..000000000 --- a/kopia.repo +++ /dev/null @@ -1,6 +0,0 @@ -[Kopia] -name=Kopia -baseurl=http://packages.kopia.io/rpm/stable/$basearch/ -gpgcheck=1 -enabled=1 -gpgkey=https://kopia.io/signing-key \ No newline at end of file