Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
discourse
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Beorn Facchini
discourse
Commits
c225f29b
Commit
c225f29b
authored
7 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Add pg_dump bin after gem compilation
parent
7ed0fafb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+6
-6
6 additions, 6 deletions
Dockerfile
with
6 additions
and
6 deletions
Dockerfile
+
6
−
6
View file @
c225f29b
...
...
@@ -38,12 +38,6 @@ RUN addgroup --gid 1000 discourse \
optipng
\
&&
npm
install
svgo uglify-js@
"<3"
-g
\
&&
cd
/tmp
\
&&
curl
-O
https://get.enterprisedb.com/postgresql/postgresql-9.5.9-1-linux-x64-binaries.tar.gz
\
&&
tar
zxf postgresql-9.5.9-1-linux-x64-binaries.tar.gz
\
&&
mv
./pgsql/bin/
*
/usr/local/bin/
\
&&
rm
postgresql-9.5.9-1-linux-x64-binaries.tar.gz
\
&&
rm
-rf
./pgsql
\
&&
cd
/tmp
\
&&
curl
-O
http://www.lcdf.org/gifsicle/gifsicle-
$GIFSICLE_VERSION
.tar.gz
\
&&
tar
zxf gifsicle-
$GIFSICLE_VERSION
.tar.gz
\
&&
cd
gifsicle-
$GIFSICLE_VERSION
\
...
...
@@ -60,6 +54,12 @@ RUN addgroup --gid 1000 discourse \
&&
sed
-i
's/daemonize true/daemonize false/g'
./config/puma.rb
\
&&
bundle config build.nokogiri
--use-system-libraries
\
&&
bundle
install
--deployment
--without
test
--without
development
\
&&
cd
/tmp
\
&&
curl
-O
https://get.enterprisedb.com/postgresql/postgresql-9.5.9-1-linux-x64-binaries.tar.gz
\
&&
tar
zxf postgresql-9.5.9-1-linux-x64-binaries.tar.gz
\
&&
mv
./pgsql/bin/
*
/usr/local/bin/
\
&&
rm
postgresql-9.5.9-1-linux-x64-binaries.tar.gz
\
&&
rm
-rf
./pgsql
\
&&
apt-get remove
-y
--purge
${
BUILD_DEPS
}
\
&&
rm
-rf
/var/lib/apt/lists/
*
...
...
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