diff options
author | Javier Sepulveda <javier.sepulveda@uv.es> | 2023-09-15 10:54:10 +0200 |
---|---|---|
committer | Javier Sepulveda <javier.sepulveda@uv.es> | 2023-09-15 10:54:10 +0200 |
commit | b62a0185ac93b0febab39f784d17e3e81d5f38d7 (patch) | |
tree | 9b39eca54b6273321a6424d5b2f31d7d49596c47 | |
parent | 98fbb52278a17082a5d5d803e98faaa4734eac15 (diff) | |
download | deployment-b62a0185ac93b0febab39f784d17e3e81d5f38d7.tar.gz deployment-b62a0185ac93b0febab39f784d17e3e81d5f38d7.tar.bz2 deployment-b62a0185ac93b0febab39f784d17e3e81d5f38d7.zip |
Improve base image Dockerfile to compile ALL programs contained in the folder --packages of the walle-core.git repository.
-rw-r--r-- | sandcastle/images/base/Dockerfile | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/sandcastle/images/base/Dockerfile b/sandcastle/images/base/Dockerfile index 78ef5e5..28cf6a1 100644 --- a/sandcastle/images/base/Dockerfile +++ b/sandcastle/images/base/Dockerfile @@ -48,6 +48,8 @@ RUN apt-get install -y \ # a venv or per-user installation of the package. RUN pip3 install --break-system-packages requests click poetry uwsgi htmlark +# Libmicro httpd + WORKDIR / COPY buildconfig/libmhd.tag /buildconfig/ RUN TAG=$(cat /buildconfig/libmhd.tag) && \ @@ -59,6 +61,8 @@ RUN ./configure --disable-doc RUN make install WORKDIR / +# Gnunet + COPY buildconfig/gnunet.tag /buildconfig/ WORKDIR / RUN TAG=$(cat /buildconfig/gnunet.tag) && \ @@ -70,6 +74,8 @@ RUN ./configure --enable-logging=verbose --disable-documentation RUN make install WORKDIR / +# Exchange + WORKDIR / COPY buildconfig/exchange.tag /buildconfig/ RUN TAG=$(cat /buildconfig/exchange.tag) && \ @@ -81,6 +87,8 @@ RUN ./configure CFLAGS="-ggdb -O0" --enable-logging=verbose --disable-doc RUN make install WORKDIR / +# Merchant + WORKDIR / COPY buildconfig/merchant.tag /buildconfig/ RUN TAG=$(cat /buildconfig/merchant.tag) && \ @@ -94,6 +102,8 @@ RUN ./configure CFLAGS="-ggdb -O0" \ RUN make install WORKDIR / +# Libeufin + WORKDIR / COPY buildconfig/libeufin.tag /buildconfig/ RUN TAG=$(cat buildconfig/libeufin.tag) && \ @@ -105,6 +115,8 @@ RUN ./configure RUN make install WORKDIR / +# Merchant demos + WORKDIR / COPY buildconfig/merchant-demos.tag /buildconfig/ RUN TAG=$(cat buildconfig/merchant-demos.tag) && \ @@ -116,6 +128,8 @@ RUN ./configure RUN make install WORKDIR / +# Wallet + WORKDIR / COPY buildconfig/wallet.tag /buildconfig/ RUN TAG=$(cat /buildconfig/wallet.tag) && \ @@ -124,14 +138,10 @@ RUN TAG=$(cat /buildconfig/wallet.tag) && \ RUN npm install -g pnpm@^8.0.0 WORKDIR /wallet-core RUN ./bootstrap -WORKDIR ./packages/demobank-ui -RUN ./configure -RUN make install -# Install CLI to provide integration tests. -WORKDIR ../taler-wallet-cli RUN ./configure RUN make install -WORKDIR / + +# Sync COPY buildconfig/sync.tag /buildconfig/ WORKDIR / |