Code Monkey home page Code Monkey logo

Comments (3)

danolivo avatar danolivo commented on August 15, 2024

Thank you for turn your attention to it. I will try to do it soon.

from aqo.

Murthy10 avatar Murthy10 commented on August 15, 2024

In the meanwhile my (really not optimized) Dockerfile could maybe help.

FROM ubuntu:18.04

RUN apt-get update
RUN apt-get install make gcc vim git build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev -y \
&& cd / \
&& git clone https://github.com/postgres/postgres.git \
&& cd /postgres \
&& git checkout REL_11_4 \
&& git clone https://github.com/tigvarts/aqo.git contrib/aqo \
&& cd contrib/aqo \
&& git checkout stable11 \
&& cd /postgres \
&& patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg11.patch \
&& ./configure \
&& make clean && make && make install \
&& cd contrib/aqo \
&& make && make install \
&& useradd -ms /bin/bash postgres \
&& chown -R postgres:postgres /postgres/ \
&& su postgres -c "make check" \
&& mkdir /data \
&& chown -R postgres:postgres /data/ \
&& su postgres -c "/postgres/tmp_install/usr/local/pgsql/bin/initdb -D /data/" \
&& echo "shared_preload_libraries = 'aqo'" >> /data/postgresql.conf 

ENTRYPOINT su postgres -c "/postgres/tmp_install/usr/local/pgsql/bin/pg_ctl -D /data/ -l /data/postgres.log start" && tail -f /data/postgres.log

Simply build and run it

docker build . -t aqo
docker run -p 5432:5432 aqo

from aqo.

danolivo avatar danolivo commented on August 15, 2024

At the branch stable11 I commit Dockerfile. It contains also some optimized postgresql.conf settings.
Please, check usability of this template.

from aqo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.