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
daa1850e
Commit
daa1850e
authored
8 years ago
by
Alexey Golubev
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adde to install postgresql-client
parent
c3fbb797
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
with
1 addition
and
1 deletion
Dockerfile
+
1
−
1
View file @
daa1850e
...
...
@@ -12,7 +12,7 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
curl
-sL
https://deb.nodesource.com/setup_6.x | bash -
&&
\
apt-get
-y
update
&&
\
echo
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula
select
true
| debconf-set-selections
&&
\
apt-get
--force-yes
-yq
install
software-properties-common adduser postgresql 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
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
&&
\
sudo
-u
postgres psql
-c
"CREATE DATABASE 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;"
&&
\
...
...
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