Skip to content

Commit b0eb720

Browse files
committed
Initial commit
0 parents  commit b0eb720

File tree

6 files changed

+591
-0
lines changed

6 files changed

+591
-0
lines changed

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Global Repository owners
2+
# see https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners for details of syntax
3+

CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# General
2+
3+
Thanks for your interest in our project. Contributions are welcome. Feel
4+
free to [open an
5+
issue](https://github.com/dbsystel/postgresql-partman-container/issues)
6+
with questions or reporting ideas and bugs, or [open pull
7+
requests](https://github.com/dbsystel/postgresql-partman-container/pulls)
8+
to contribute code.
9+
10+
We are committed to fostering a welcoming, respectful, and
11+
harassment-free environment. Be kind!
12+
13+
# Releases
14+
15+
TBD

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ARG POSTGRESQL_VERSION="13"
2+
FROM bitnami/postgresql:$POSTGRESQL_VERSION
3+
ARG PARTMAN_VERSION="v4.7.1"
4+
5+
USER root
6+
RUN install_packages wget gcc make build-essential
7+
RUN cd /tmp \
8+
&& wget "https://github.com/pgpartman/pg_partman/archive/refs/tags/${PARTMAN_VERSION}.tar.gz" \
9+
&& export C_INCLUDE_PATH=/opt/bitnami/postgresql/include/:/opt/bitnami/common/include/ \
10+
&& export LIBRARY_PATH=/opt/bitnami/postgresql/lib/:/opt/bitnami/common/lib/ \
11+
&& export LD_LIBRARY_PATH=/opt/bitnami/postgresql/lib/:/opt/bitnami/common/lib/ \
12+
&& tar zxf ${PARTMAN_VERSION}.tar.gz && cd pg_partman-${PARTMAN_VERSION#v}\
13+
&& make \
14+
&& make install
15+
16+
USER 1001

0 commit comments

Comments
 (0)