mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2023-10-20 22:33:52 -05:00
made WAL-G Version an argument
This commit is contained in:
+3
-1
@@ -2,9 +2,11 @@ ARG BASE
|
||||
|
||||
FROM postgres:$BASE
|
||||
|
||||
ARG WALG_RELEASE=v0.2.9
|
||||
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update -qq && \
|
||||
apt-get install -qqy curl ca-certificates vim && \
|
||||
cd /usr/local/bin && curl -L https://github.com/wal-g/wal-g/releases/download/v0.2.9/wal-g.linux-amd64.tar.gz | tar xzf -
|
||||
cd /usr/local/bin && curl -L https://github.com/wal-g/wal-g/releases/download/$WALG_RELEASE/wal-g.linux-amd64.tar.gz | tar xzf -
|
||||
|
||||
COPY wal-g /wal-g
|
||||
|
||||
Reference in New Issue
Block a user