Skip to content

Commit

Permalink
#38 Install postgresql-contrib for extensions
Browse files Browse the repository at this point in the history
These extensions are needed for OpenProject.
  • Loading branch information
jelemux committed Oct 7, 2024
1 parent 279fb1e commit d628e34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- [#38] Extensions from `postgresql-contrib`

## [v14.12-3] - 2024-09-23
### Changed
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,12 @@ ENV LANG=en_US.utf8 \
PGDATA=/var/lib/postgresql \
POSTGRESQL_VERSION=14.12-r0

# install postgresql and gosu
# Note: the current postgresql version from alpine is installed
# https://pkgs.alpinelinux.org/packages?name=postgresql&branch=v3.12&arch=x86_64
RUN set -x -o errexit \
&& set -o nounset \
&& set -o pipefail \
&& apk update \
&& apk upgrade \
&& apk add --no-cache --update postgresql14="${POSTGRESQL_VERSION}"
&& apk add --no-cache --update postgresql14="${POSTGRESQL_VERSION}" postgresql14-contrib="${POSTGRESQL_VERSION}"

COPY resources/ /
COPY --from=builder /build /
Expand Down

0 comments on commit d628e34

Please sign in to comment.