Moved down REPO_URL to enable caching
This commit is contained in:
parent
7d60ffe26d
commit
a015fe4c8c
@ -1,8 +1,6 @@
|
|||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
MAINTAINER Ascensio System SIA <support@onlyoffice.com>
|
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
|
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 && \
|
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
|
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 && \
|
RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \
|
||||||
apt-get -y update && \
|
apt-get -y update && \
|
||||||
service postgresql start && \
|
service postgresql start && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user