mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-05-31 08:37:58 +00:00
Minor alpine build fix
This commit is contained in:
+2
-3
@@ -1,14 +1,13 @@
|
||||
ARG BASETAG=alpine
|
||||
FROM postgres:$BASETAG
|
||||
|
||||
ARG GOCRONVER=v0.0.9
|
||||
ARG GOCRONVER=v0.0.10
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
RUN set -x \
|
||||
&& apk update && apk add ca-certificates curl \
|
||||
&& curl -L https://github.com/prodrigestivill/go-cron/releases/download/$GOCRONVER/go-cron-$TARGETOS-$TARGETARCH-static.gz | zcat > /usr/local/bin/go-cron \
|
||||
&& chmod a+x /usr/local/bin/go-cron \
|
||||
&& apk del ca-certificates
|
||||
&& chmod a+x /usr/local/bin/go-cron
|
||||
|
||||
ENV POSTGRES_DB="**None**" \
|
||||
POSTGRES_DB_FILE="**None**" \
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
ARG BASETAG=latest
|
||||
FROM postgres:$BASETAG
|
||||
|
||||
ARG GOCRONVER=v0.0.9
|
||||
ARG GOCRONVER=v0.0.10
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
RUN set -x \
|
||||
|
||||
@@ -22,3 +22,5 @@ BUILDREV=$(git rev-parse --short HEAD)
|
||||
echo "Starting building and publish revision $BUILDREV..."
|
||||
export BUILDREV
|
||||
docker buildx bake --pull --push -f "$TMPFILE"
|
||||
|
||||
echo "Successfully build and pushed."
|
||||
Reference in New Issue
Block a user