mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-05-31 16:47:58 +00:00
Moved to newer go-cron build
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ FROM postgres:alpine
|
||||
|
||||
RUN set -x \
|
||||
&& apk update && apk add ca-certificates curl \
|
||||
&& curl -L https://github.com/odise/go-cron/releases/download/v0.0.7/go-cron-linux.gz | zcat > /usr/local/bin/go-cron \
|
||||
&& curl -L https://github.com/prodrigestivill/go-cron/releases/download/v0.0.8/go-cron-linux-amd64-static.gz | zcat > /usr/local/bin/go-cron \
|
||||
&& chmod a+x /usr/local/bin/go-cron \
|
||||
&& apk del ca-certificates
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ FROM postgres
|
||||
|
||||
RUN set -x \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -L https://github.com/odise/go-cron/releases/download/v0.0.7/go-cron-linux.gz | zcat > /usr/local/bin/go-cron \
|
||||
&& curl -L https://github.com/prodrigestivill/go-cron/releases/download/v0.0.8/go-cron-linux-amd64.gz | zcat > /usr/local/bin/go-cron \
|
||||
&& chmod a+x /usr/local/bin/go-cron \
|
||||
&& apt-get purge -y --auto-remove ca-certificates && apt-get clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user