From 452dfeb56d9c2ee8666031b9ccc48857881e8e93 Mon Sep 17 00:00:00 2001 From: Roman Demidov Date: Fri, 29 Apr 2022 14:57:14 +0300 Subject: [PATCH] Fix bug #56785 (#434) * Fix bug #56785 * Changes for root --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8d8b2c2..69e2e2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ ARG ONLYOFFICE_VALUE=onlyoffice RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ apt-get -y update && \ apt-get -yq install wget apt-transport-https gnupg locales && \ - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x8320ca65cb2de8e5 && \ + mkdir -p $HOME/.gnupg && \ + gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/onlyoffice.gpg --keyserver keyserver.ubuntu.com --recv-keys 0x8320ca65cb2de8e5 && \ + chmod 644 /etc/apt/trusted.gpg.d/onlyoffice.gpg && \ locale-gen en_US.UTF-8 && \ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \ apt-get -yq install \