Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
postgres-ext-ci-service
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
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
The parent group of this project is pending deletion, so this project will also be deleted on
2025-06-17
.
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
C3SL
docker
postgres-ext-ci-service
Commits
112bc51f
Commit
112bc51f
authored
8 years ago
by
Pedro Ferreira
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Jun2016-SP2 Dockerfile to listen from any host
parent
3dc340aa
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+19
-17
19 additions, 17 deletions
Dockerfile
with
19 additions
and
17 deletions
Dockerfile
+
19
−
17
View file @
112bc51f
...
...
@@ -24,8 +24,7 @@ COPY configs/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
#############################################################
# Enables repos, update system, install packages and clean up
#############################################################
RUN
yum
install
-y
epel-release
\
wget
RUN
yum
-y
install
epel-release
# Update & upgrade
RUN
yum update
-y
&&
\
...
...
@@ -39,28 +38,27 @@ RUN groupadd -g 5000 monetdb && \
useradd
-u
5000
-g
5000 monetdb
# Enable MonetDB repo
RUN
wget
-O
/etc/yum.repos.d/monetdb.repo
http
s
://dev.monetdb.org/downloads/epel/
monetdb.repo
RUN
rpm
--import
http
s
://dev.monetdb.org/downloads/MonetDB-GPG-KEY
RUN
yum
install
-y
http://dev.monetdb.org/downloads/epel/
MonetDB-release-epel-1.1-1.monetdb.noarch.rpm
RUN
rpm
--import
http://dev.monetdb.org/downloads/MonetDB-GPG-KEY
ARG
MonetDBVersion=11.25.5
# Update & upgrade
RUN
yum update
-y
# Install MonetDB clients
RUN
yum
install
-y
MonetDB-stream-
$MonetDBVersion
\
MonetDB-client-
$MonetDBVersion
\
MonetDB-client-tools-
$MonetDBVersion
\
MonetDB-client-odbc-
$MonetDBVersion
ARG
MonetDBVersion=11.23.13
# Install MonetDB server
RUN
yum
install
-y
MonetDB-
$MonetDBVersion
\
MonetDB-SQL-server5-hugeint-
$MonetDBVersion
MonetDB-stream-
$MonetDBVersion
\
MonetDB-client-
$MonetDBVersion
\
MonetDB-SQL-server5-
$MonetDBVersion
\
MonetDB-SQL-server5-hugeint-
$MonetDBVersion
\
MonetDB5-server-
$MonetDBVersion
\
MonetDB5-server-hugeint-
$MonetDBVersion
# Install MonetDB extensions
RUN
yum
install
-y
MonetDB-geom-MonetDB5-
$MonetDBVersion
\
MonetDB-gsl-MonetDB5-
$MonetDBVersion
\
MonetDB-R-
$MonetDBVersion
\
MonetDB-python2-
$MonetDBVersion
# RUN yum install -y MonetDB-lidar-$MonetDBVersion
MonetDB-R-
$MonetDBVersion
# Clean up
RUN
yum
-y
clean all
...
...
@@ -80,9 +78,13 @@ COPY configs/.monetdb /home/monetdb/.monetdb
COPY
scripts/init-db.sh /home/monetdb/init-db.sh
RUN
chmod
+x /home/monetdb/init-db.sh
# Init the db in a scipt to allow more than one process to run in the container
# As of the Jun2016 release, we have to set the property listenaddr to any host
# because now it only listens to the localhost by default
RUN
echo
"listenaddr=0.0.0.0"
>>
/var/monetdb5/dbfarm/.merovingian_properties
# Init the db in a script to allow more than one process to run in the container
# We need two: one for monetdbd and one for mserver
# The sript will init the database with using the unpr
eve
le
d
ged user monetdb
# The s
c
ript will init the database with using the unpr
ivi
leged user monetdb
RUN
su
-c
'sh /home/monetdb/init-db.sh'
monetdb
CMD
["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
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