commit 88218c0daeb1ce3330366ecad806a05e42731a43
parent 5a5cb412405a5e76304801c970bf01880a81d29d
Author: Florian Dold <florian@dold.me>
Date: Wed, 5 Jul 2023 20:55:44 +0200
sandcastle: stages don't work yet
Diffstat:
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/sandcastle/images/base/Dockerfile b/sandcastle/images/base/Dockerfile
@@ -1,6 +1,10 @@
FROM debian:bookworm AS base-system
RUN apt-get update
+# FIXME: Right now, the build doesn't proceed nicely
+# in stages. For that to work properly, each build
+# step needs to output some artifact (.deb, etc.).
+
RUN apt-get install -y \
autoconf \
autopoint \
@@ -44,7 +48,6 @@ 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
-FROM base-system AS mhd
WORKDIR /
COPY buildconfig/libmhd.tag /buildconfig/
RUN TAG=$(cat /buildconfig/libmhd.tag) && \
@@ -56,7 +59,6 @@ RUN ./configure --disable-doc
RUN make install
WORKDIR /
-FROM mhd AS gnunet
COPY buildconfig/gnunet.tag /buildconfig/
WORKDIR /
RUN TAG=$(cat /buildconfig/gnunet.tag) && \
@@ -68,7 +70,6 @@ RUN ./configure --enable-logging=verbose --disable-documentation
RUN make install
WORKDIR /
-FROM gnunet AS exchange
WORKDIR /
COPY buildconfig/exchange.tag /buildconfig/
RUN TAG=$(cat /buildconfig/exchange.tag) && \
@@ -80,7 +81,6 @@ RUN ./configure CFLAGS="-ggdb -O0" --enable-logging=verbose --disable-doc
RUN make install
WORKDIR /
-FROM exchange AS merchant
WORKDIR /
COPY buildconfig/merchant.tag /buildconfig/
RUN TAG=$(cat /buildconfig/merchant.tag) && \
@@ -94,7 +94,6 @@ RUN ./configure CFLAGS="-ggdb -O0" \
RUN make install
WORKDIR /
-FROM base-system AS libeufin
WORKDIR /
COPY buildconfig/libeufin.tag /buildconfig/
RUN TAG=$(cat buildconfig/libeufin.tag) && \
@@ -106,7 +105,6 @@ RUN ./configure
RUN make install
WORKDIR /
-FROM base-system AS taler-merchant-demos
WORKDIR /
COPY buildconfig/merchant-demos.tag /buildconfig/
RUN TAG=$(cat buildconfig/merchant-demos.tag) && \
@@ -118,7 +116,6 @@ RUN ./configure
RUN make install
WORKDIR /
-FROM base-system AS wallet-core
WORKDIR /
COPY buildconfig/wallet.tag /buildconfig/
RUN TAG=$(cat /buildconfig/wallet.tag) && \
@@ -136,7 +133,6 @@ RUN ./configure
RUN make install
WORKDIR /
-FROM merchant AS sync
COPY buildconfig/sync.tag /buildconfig/
WORKDIR /
RUN TAG=$(cat buildconfig/sync.tag) && \