Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-onlyoffice-documentserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TO
docker-onlyoffice-documentserver
Commits
20063dfe
Commit
20063dfe
authored
8 years ago
by
Alexey Golubev
Browse files
Options
Downloads
Plain Diff
Merge branch 'release/v4.4.1'
parents
c2117fce
b663638b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+37
-4
37 additions, 4 deletions
Dockerfile
Makefile
+6
-0
6 additions, 0 deletions
Makefile
run-document-server.sh
+0
-1
0 additions, 1 deletion
run-document-server.sh
with
43 additions
and
5 deletions
Dockerfile
+
37
−
4
View file @
20063dfe
FROM
ubuntu:14.04
FROM
ubuntu:14.04
MAINTAINER
Ascensio System SIA <support@onlyoffice.com>
LABEL
maintainer
Ascensio System SIA <support@onlyoffice.com>
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
...
@@ -12,7 +12,40 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
...
@@ -12,7 +12,40 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
curl
-sL
https://deb.nodesource.com/setup_6.x | bash -
&&
\
curl
-sL
https://deb.nodesource.com/setup_6.x | bash -
&&
\
apt-get
-y
update
&&
\
apt-get
-y
update
&&
\
echo
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula
select
true
| debconf-set-selections
&&
\
echo
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula
select
true
| debconf-set-selections
&&
\
apt-get
--force-yes
-yq
install
software-properties-common adduser postgresql postgresql-client redis-server rabbitmq-server nginx-extras nodejs libstdc++6 libcurl3 libxml2 libboost-regex-dev zlib1g supervisor fonts-dejavu fonts-liberation ttf-mscorefonts-installer fonts-crosextra-carlito fonts-takao-gothic fonts-opensymbol libxss1 libgtkglext1 libcairo2 xvfb libxtst6 libgconf2-4 libasound2 bomstrip libnspr4 libnss3 libnss3-nssdb nano htop
&&
\
apt-get
--force-yes
-yq
install
adduser
\
bomstrip
\
fonts-crosextra-carlito
\
fonts-dejavu
\
fonts-liberation
\
fonts-opensymbol
\
fonts-takao-gothic
\
htop
\
libasound2
\
libboost-regex-dev
\
libcairo2
\
libcurl3
\
libgconf2-4
\
libgtkglext1
\
libnspr4
\
libnss3
\
libnss3-nssdb
\
libstdc++6
\
libxml2
\
libxss1
\
libxtst6
\
nano
\
nginx-extras
\
nodejs
\
postgresql
\
postgresql-client
\
pwgen
\
rabbitmq-server
\
redis-server
\
software-properties-common
\
supervisor
\
ttf-mscorefonts-installer
\
xvfb
\
zlib1g
&&
\
sudo
-u
postgres psql
-c
"CREATE DATABASE onlyoffice;"
&&
\
sudo
-u
postgres psql
-c
"CREATE DATABASE onlyoffice;"
&&
\
sudo
-u
postgres psql
-c
"CREATE USER onlyoffice WITH password 'onlyoffice';"
&&
\
sudo
-u
postgres psql
-c
"CREATE USER onlyoffice WITH password 'onlyoffice';"
&&
\
sudo
-u
postgres psql
-c
"GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
&&
\
sudo
-u
postgres psql
-c
"GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
&&
\
...
@@ -23,8 +56,8 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
...
@@ -23,8 +56,8 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
service nginx stop && \
service nginx stop && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
ADD
config /app/onlyoffice/setup/config/
COPY
config /app/onlyoffice/setup/config/
ADD
run-document-server.sh /app/onlyoffice/run-document-server.sh
COPY
run-document-server.sh /app/onlyoffice/run-document-server.sh
EXPOSE
80 443
EXPOSE
80 443
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
6
−
0
View file @
20063dfe
COMPANY_NAME
?=
onlyoffice
GIT_BRANCH
?=
origin/develop
PRODUCT_NAME
?=
documentserver-integration
PRODUCT_VERSION
?=
0.0.0
BUILD_NUMBER
?=
0
PACKAGE_VERSION
:=
$(
PRODUCT_VERSION
)
-
$(
BUILD_NUMBER
)
PACKAGE_VERSION
:=
$(
PRODUCT_VERSION
)
-
$(
BUILD_NUMBER
)
REPO_URL
:=
"deb http://repo-doc-onlyoffice-com.s3.amazonaws.com/ubuntu/trusty/
$(
COMPANY_NAME
)
-
$(
PRODUCT_NAME
)
/
$(
GIT_BRANCH
)
/
$(
PACKAGE_VERSION
)
/ repo/"
REPO_URL
:=
"deb http://repo-doc-onlyoffice-com.s3.amazonaws.com/ubuntu/trusty/
$(
COMPANY_NAME
)
-
$(
PRODUCT_NAME
)
/
$(
GIT_BRANCH
)
/
$(
PACKAGE_VERSION
)
/ repo/"
...
...
This diff is collapsed.
Click to expand it.
run-document-server.sh
+
0
−
1
View file @
20063dfe
...
@@ -75,7 +75,6 @@ parse_rabbitmq_url(){
...
@@ -75,7 +75,6 @@ parse_rabbitmq_url(){
else
else
user
=
$userpass
user
=
$userpass
fi
fi
echo
$user
# extract the host
# extract the host
local
hostport
=
"
$(
echo
${
url
/
$userpass
@/
}
|
cut
-d
/
-f1
)
"
local
hostport
=
"
$(
echo
${
url
/
$userpass
@/
}
|
cut
-d
/
-f1
)
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment