Moved down REPO_URL to enable caching

This commit is contained in:
Alexey Golubev 2016-08-31 11:22:25 +03:00 committed by GitHub
parent 7d60ffe26d
commit a015fe4c8c

@ -1,8 +1,6 @@
FROM ubuntu:14.04
MAINTAINER Ascensio System SIA <support@onlyoffice.com>
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 && \