installpip
parent
a8cd7db58a
commit
f832972cde
|
@ -50,16 +50,16 @@ RUN ["/home/maybms/src/docker/createDB.sh","maybms"]
|
||||||
########################################
|
########################################
|
||||||
# Build patched version
|
# Build patched version
|
||||||
########################################
|
########################################
|
||||||
RUN cd /home/maybms/src/postgresql-ctype \
|
# RUN cd /home/maybms/src/postgresql-ctype \
|
||||||
&& ./configure --prefix=/home/maybms/install-patched \
|
# && ./configure --prefix=/home/maybms/install-patched \
|
||||||
&& make -j16 \
|
# && make -j16 \
|
||||||
&& make install \
|
# && make install \
|
||||||
&& cp -r /home/maybms/src/postgresql-ctype/src/include/maybms /home/maybms/install-patched/include/postgresql/server/maybms/
|
# && cp -r /home/maybms/src/postgresql-ctype/src/include/maybms /home/maybms/install-patched/include/postgresql/server/maybms/
|
||||||
########################################
|
########################################
|
||||||
# Environment
|
# Environment
|
||||||
########################################
|
########################################
|
||||||
ENV PGDATA /home/maybms/datadir
|
ENV PGDATA /home/maybms/datadir
|
||||||
ENV PATH /home/maybms/install-patched/bin:$PATH
|
ENV PATH /home/maybms/install/bin:$PATH
|
||||||
########################################
|
########################################
|
||||||
# Expose postmaster port
|
# Expose postmaster port
|
||||||
########################################
|
########################################
|
||||||
|
@ -75,7 +75,7 @@ RUN ["/home/maybms/src/docker/installPipFuncs.sh","maybms"]
|
||||||
########################################
|
########################################
|
||||||
# Per default start postgres
|
# Per default start postgres
|
||||||
########################################
|
########################################
|
||||||
ENTRYPOINT ["/home/maybms/install-patched/bin/postgres"]
|
ENTRYPOINT ["/home/maybms/install/bin/postgres"]
|
||||||
########################################
|
########################################
|
||||||
# Per default connect to the example cluster
|
# Per default connect to the example cluster
|
||||||
########################################
|
########################################
|
||||||
|
|
|
@ -10,8 +10,8 @@ ${INSTALLBINDIR}/pg_ctl -D ${DATADIR} -w start
|
||||||
sleep 10
|
sleep 10
|
||||||
####################
|
####################
|
||||||
echo - create testdb
|
echo - create testdb
|
||||||
${INSTALLBINDIR}/psql -h localhost -p 5432 -U $PGUSER -d template1 -f /home/maybms/src/pip_plugin/pip.sql
|
${INSTALLBINDIR}/psql -h localhost -p 5432 -U $PGUSER -d maybms -f /home/maybms/src/pip_plugin/pip-noctype.sql
|
||||||
${INSTALLBINDIR}/psql -h localhost -p 5432 -U $PGUSER -d template1 -f /home/maybms/src/pip_plugin/pip.sql
|
${INSTALLBINDIR}/psql -h localhost -p 5432 -U $PGUSER -d template1 -f /home/maybms/src/pip_plugin/pip-noctype.sql
|
||||||
####################
|
####################
|
||||||
echo - shutdown server
|
echo - shutdown server
|
||||||
${INSTALLBINDIR}/pg_ctl -w stop
|
${INSTALLBINDIR}/pg_ctl -w stop
|
||||||
|
|
Loading…
Reference in New Issue