mirror of
https://github.com/bitnami/containers.git
synced 2026-02-24 07:07:37 +08:00
Remove no longer needed folder 10.0
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
FROM bitnami/minideb-extras:jessie-r22
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libbsd0 libc6 libedit2 liblzma5 libssl1.0.0 libtinfo5 libxml2 libxslt1.1 zlib1g
|
||||
RUN bitnami-pkg unpack postgresql-10.0.0-0 --checksum d5c289dfc2971563e6e2558cd3e0aede4632a2974ea50b9419941a5adcf66eae
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV BITNAMI_APP_NAME="postgresql" \
|
||||
BITNAMI_IMAGE_VERSION="10.0.0-r0" \
|
||||
PATH="/opt/bitnami/postgresql/bin:$PATH" \
|
||||
POSTGRESQL_DATABASE="" \
|
||||
POSTGRESQL_MASTER_HOST="" \
|
||||
POSTGRESQL_MASTER_PORT_NUMBER="5432" \
|
||||
POSTGRESQL_PASSWORD="" \
|
||||
POSTGRESQL_PORT_NUMBER="5432" \
|
||||
POSTGRESQL_REPLICATION_MODE="master" \
|
||||
POSTGRESQL_REPLICATION_PASSWORD="" \
|
||||
POSTGRESQL_REPLICATION_USER="" \
|
||||
POSTGRESQL_USERNAME="postgres"
|
||||
|
||||
EXPOSE 5432
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["nami","start","--foreground","postgresql"]
|
||||
@@ -1,15 +0,0 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
postgresql:
|
||||
image: 'bitnami/postgresql:10.0'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- 'postgresql_data:/bitnami'
|
||||
|
||||
volumes:
|
||||
postgresql_data:
|
||||
driver: local
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
nami_initialize postgresql
|
||||
info "Starting postgresql... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"database": "{{$global.env.POSTGRESQL_DATABASE}}",
|
||||
"masterHost": "{{$global.env.POSTGRESQL_MASTER_HOST}}",
|
||||
"masterPort": "{{$global.env.POSTGRESQL_MASTER_PORT_NUMBER}}",
|
||||
"password": "{{$global.env.POSTGRESQL_PASSWORD}}",
|
||||
"postgresqlPort": "{{$global.env.POSTGRESQL_PORT_NUMBER}}",
|
||||
"replicationMode": "{{$global.env.POSTGRESQL_REPLICATION_MODE}}",
|
||||
"replicationPassword": "{{$global.env.POSTGRESQL_REPLICATION_PASSWORD}}",
|
||||
"replicationUser": "{{$global.env.POSTGRESQL_REPLICATION_USER}}",
|
||||
"username": "{{$global.env.POSTGRESQL_USERNAME}}"
|
||||
}
|
||||
Reference in New Issue
Block a user