From 6048280983896decb9c526ce5af4f41c7b6c5ae7 Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Tue, 25 Aug 2020 21:30:44 +0300 Subject: [PATCH] Update installation process in Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d60281..b017675 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM python:3-slim -RUN apt-get update && apt-get install gnupg -y && rm -rf /var/lib/apt/lists/* -RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61 && \ - echo deb http://deb.seadrive.org buster main | tee /etc/apt/sources.list.d/seafile.list && \ +RUN apt-get update && apt-get install gnupg curl -y && rm -rf /var/lib/apt/lists/* +RUN curl https://linux-clients.seafile.com/seafile.key | apt-key add - && \ + echo 'deb [arch=amd64] http://linux-clients.seafile.com/seafile-deb/buster/ stable main' > /etc/apt/sources.list.d/seafile.list && \ apt-get update -y && \ - apt-get install -y seafile-cli procps curl grep && \ + apt-get install -y seafile-cli procps grep && \ rm -rf /var/lib/apt/lists/* WORKDIR /seafile-client