Skip to content

Commit

Permalink
Add postgresq 15 and 17
Browse files Browse the repository at this point in the history
  • Loading branch information
danny6167 committed Jan 26, 2025
1 parent 75e7c9f commit 997bda1
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
tag:
- 13
- 14
- 15
- 16
- 17
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,13 @@ is tagged correctly.
* [`Postgres 13`](/postgres/13)
* `ghcr.io/ptero-eggs/yolks:postgres_13`
* [`Postgres 14`](/postgres/14)
* `ghcr.io/ptero-eggs/yolks:postgres_14`
* `ghcr.io/ptero-eggs/yolks:postgres_14`
* [`Postgres 15`](/postgres/15)
* `ghcr.io/ptero-eggs/yolks:postgres_15`
* [`Postgres 16`](/postgres/16)
* `ghcr.io/ptero-eggs/yolks:postgres_16`
* [`Postgres 17`](/postgres/17)
* `ghcr.io/ptero-eggs/yolks:postgres_17`

### [Python](/python)

Expand Down
17 changes: 17 additions & 0 deletions postgres/15/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:15-alpine

LABEL author="Parker" maintainer="[email protected]"

RUN adduser -D -h /home/container container

RUN apk add --no-cache curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata
USER container
ENV HOME /home/container
WORKDIR /home/container


COPY --chmod=755 --chown=root:root ../entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
17 changes: 17 additions & 0 deletions postgres/17/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:17-alpine

LABEL author="Parker" maintainer="[email protected]"

RUN adduser -D -h /home/container container

RUN apk add --no-cache curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata
USER container
ENV HOME /home/container
WORKDIR /home/container


COPY --chmod=755 --chown=root:root ../entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 997bda1

Please sign in to comment.