-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
containers/pgbackup: Upgrade, standard automation
- Loading branch information
Showing
3 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
FROM docker.io/alpine:3.15 | ||
FROM docker.io/alpine:3.20 | ||
|
||
MAINTAINER Haiku, Inc <[email protected]> | ||
LABEL org.opencontainers.image.source https://github.com/haiku/infrastructure | ||
LABEL org.opencontainers.image.url https://github.com/haiku/infrastructure/tree/master/containers/tools/pgbackup | ||
LABEL org.opencontainers.image.vendor Haiku, Inc. | ||
LABEL org.opencontainers.image.source="https://github.com/haiku/infrastructure" | ||
LABEL org.opencontainers.image.url="https://github.com/haiku/infrastructure/tree/main/containers/tools/pgbackup" | ||
LABEL org.opencontainers.image.authors="Haiku, Inc." | ||
LABEL org.opencontainers.image.vendor="Haiku, Inc." | ||
LABEL org.opencontainers.image.description="cgit Interface for Haiku" | ||
|
||
RUN apk add --update bash rsync gnupg rsync xz tar postgresql14-client jq | ||
RUN apk add --update bash rsync gnupg rsync xz tar postgresql14-client jq \ | ||
&& if [ "$(uname -m)" = "x86_64" ]; then wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /usr/local/bin/mc; fi \ | ||
&& if [ "$(uname -m)" = "aarch64" ]; then wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /usr/local/bin/mc; fi; | ||
|
||
ADD https://dl.minio.io/client/mc/release/linux-amd64/mc /usr/local/bin/mc | ||
ADD pgsync.sh /usr/local/bin/pgsync | ||
RUN chmod 755 /usr/local/bin/mc | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
VERSION = 1.0 | ||
VERSION = $(shell cat VERSION | grep -Ev "^#" | tail -1)-development | ||
REGISTRY = ghcr.io/haiku | ||
default: | ||
docker build --no-cache --tag ${REGISTRY}/pgbackup:${VERSION} . | ||
push: | ||
docker push ${REGISTRY}/pgbackup:${VERSION} | ||
podman build --no-cache --tag ${REGISTRY}/pgbackup:${VERSION} . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ONLY UPDATE ONCE READY TO BUILD NEW RELEASE | ||
1.1 |