Use shallow pinned refs for gnunet/exchange/merchant/libeufin
This commit is contained in:
parent
eb2cc7f9cb
commit
e2a71b7d14
1 changed files with 10 additions and 4 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -2,6 +2,12 @@ FROM debian:sid
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
# Pin refs (branch/tag/commit) for shallow clones; adjust as needed.
|
||||||
|
ARG GNUNET_REF=master
|
||||||
|
ARG EXCHANGE_REF=master
|
||||||
|
ARG MERCHANT_REF=master
|
||||||
|
ARG LIBEUFIN_REF=master
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
build-essential git automake libtool pkg-config \
|
build-essential git automake libtool pkg-config \
|
||||||
libgnutls28-dev libjansson-dev libsqlite3-dev \
|
libgnutls28-dev libjansson-dev libsqlite3-dev \
|
||||||
|
|
@ -10,20 +16,20 @@ RUN apt-get update && apt-get install -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# GNUnet (falls nicht schon systemweit neu genug)
|
# GNUnet (falls nicht schon systemweit neu genug)
|
||||||
RUN git clone https://git.taler.net/gnunet.git /src/gnunet && \
|
RUN git clone --depth 1 --branch "${GNUNET_REF}" https://git.taler.net/gnunet.git /src/gnunet && \
|
||||||
cd /src/gnunet && ./bootstrap && \
|
cd /src/gnunet && ./bootstrap && \
|
||||||
./configure --prefix=/usr && make -j$(nproc) && make install
|
./configure --prefix=/usr && make -j$(nproc) && make install
|
||||||
|
|
||||||
# Taler Exchange + Merchant
|
# Taler Exchange + Merchant
|
||||||
RUN git clone https://git.taler.net/exchange.git /src/exchange && \
|
RUN git clone --depth 1 --branch "${EXCHANGE_REF}" https://git.taler.net/exchange.git /src/exchange && \
|
||||||
cd /src/exchange && ./bootstrap && \
|
cd /src/exchange && ./bootstrap && \
|
||||||
./configure --prefix=/usr && make -j$(nproc) && make install && \
|
./configure --prefix=/usr && make -j$(nproc) && make install && \
|
||||||
git clone https://git.taler.net/merchant.git /src/merchant && \
|
git clone --depth 1 --branch "${MERCHANT_REF}" https://git.taler.net/merchant.git /src/merchant && \
|
||||||
cd /src/merchant && ./bootstrap && \
|
cd /src/merchant && ./bootstrap && \
|
||||||
./configure --prefix=/usr && make -j$(nproc) && make install
|
./configure --prefix=/usr && make -j$(nproc) && make install
|
||||||
|
|
||||||
# LibEuFin (Bank)
|
# LibEuFin (Bank)
|
||||||
RUN git clone https://git.taler.net/libeufin.git /src/libeufin && \
|
RUN git clone --depth 1 --branch "${LIBEUFIN_REF}" https://git.taler.net/libeufin.git /src/libeufin && \
|
||||||
cd /src/libeufin && ./bootstrap && \
|
cd /src/libeufin && ./bootstrap && \
|
||||||
./configure --prefix=/usr && make -j$(nproc) && make install
|
./configure --prefix=/usr && make -j$(nproc) && make install
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue