From a015fe4c8c7da6ac2038c80292bdeea81ca6aaf2 Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Wed, 31 Aug 2016 11:22:25 +0300 Subject: [PATCH] Moved down REPO_URL to enable caching --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6c64f3..15269a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM ubuntu:14.04 MAINTAINER Ascensio System SIA -ARG REPO_URL="deb http://static.teamlab.com/repo/debian/ squeeze main" - ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ @@ -36,6 +34,8 @@ ADD run-document-server.sh /app/onlyoffice/run-document-server.sh EXPOSE 80 443 +ARG REPO_URL="deb http://static.teamlab.com/repo/debian/ squeeze main" + RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \ apt-get -y update && \ service postgresql start && \