Init git repo when building exchange/merchant from tarball
This commit is contained in:
parent
afe3090506
commit
96465d6267
1 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,9 @@ RUN set -e; \
|
|||
git clone --depth 1 --branch "${EXCHANGE_REF}" https://git.taler.net/exchange.git /src/exchange; \
|
||||
EXCHANGE_DIR="/src/exchange"; \
|
||||
fi; \
|
||||
if [ ! -d "${EXCHANGE_DIR}/.git" ]; then \
|
||||
(cd "${EXCHANGE_DIR}" && git init >/dev/null 2>&1); \
|
||||
fi; \
|
||||
cd "${EXCHANGE_DIR}" && env GNUNET_PREFIX=/usr GIT_CONFIG_NOSYSTEM=1 GIT_DIR= GIT_WORK_TREE=. ./bootstrap && \
|
||||
./configure --prefix=/usr && make -j$(nproc) && make install; \
|
||||
# Merchant
|
||||
|
|
@ -106,6 +109,9 @@ RUN set -e; \
|
|||
git clone --depth 1 --branch "${MERCHANT_REF}" https://git.taler.net/merchant.git /src/merchant; \
|
||||
MERCHANT_DIR="/src/merchant"; \
|
||||
fi; \
|
||||
if [ ! -d "${MERCHANT_DIR}/.git" ]; then \
|
||||
(cd "${MERCHANT_DIR}" && git init >/dev/null 2>&1); \
|
||||
fi; \
|
||||
cd "${MERCHANT_DIR}" && env GNUNET_PREFIX=/usr GIT_CONFIG_NOSYSTEM=1 GIT_DIR= GIT_WORK_TREE=. ./bootstrap && \
|
||||
./configure --prefix=/usr && make -j$(nproc) && make install
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue