Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update PostgreSQL base to postgres:13-buster
Update the base image for comanage-registry-postgres to be
postgres:13-buster.
  • Loading branch information
skoranda committed Sep 13, 2021
1 parent 895cc7e commit 393d226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions comanage-registry-postgres/Dockerfile
Expand Up @@ -16,7 +16,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM postgres:9.6
FROM postgres:13-buster

ENV INIT_DIR /docker-entrypoint-initdb.d

Expand All @@ -38,8 +38,6 @@ ENV COMANAGE_REGISTRY_POSTGRES_DATABASE ${COMANAGE_REGISTRY_POSTGRES_DATABASE:-r
ENV COMANAGE_REGISTRY_POSTGRES_USER ${COMANAGE_REGISTRY_POSTGRES_USER:-registry_user}
ENV COMANAGE_REGISTRY_POSTGRES_USER_PASSWORD ${COMANAGE_REGISTRY_POSTGRES_USER_PASSWORD:-password}

ENV POSTGRES_PASSWORD ${COMANAGE_REGISTRY_POSTGRES_USER_PASSWORD:-password}

ENTRYPOINT ["/usr/local/bin/comanage-registry-postgres-entrypoint.sh"]

CMD ["postgres"]
Expand Up @@ -39,4 +39,4 @@ if [[ -z "${POSTGRES_PASSWORD}" && -z "${POSTGRES_PASSWORD_FILE}" ]]; then
export POSTGRES_PASSWORD
fi

exec "/docker-entrypoint.sh" "$@"
exec "docker-entrypoint.sh" "$@"

0 comments on commit 393d226

Please sign in to comment.