summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-07-05 20:55:44 +0200
committerFlorian Dold <florian@dold.me>2023-07-05 20:55:44 +0200
commit88218c0daeb1ce3330366ecad806a05e42731a43 (patch)
tree1e26b3a048984acaadcdf2b75c8c36ff4bd52f81
parent5a5cb412405a5e76304801c970bf01880a81d29d (diff)
downloaddeployment-88218c0daeb1ce3330366ecad806a05e42731a43.tar.gz
deployment-88218c0daeb1ce3330366ecad806a05e42731a43.tar.bz2
deployment-88218c0daeb1ce3330366ecad806a05e42731a43.zip
sandcastle: stages don't work yet
-rw-r--r--sandcastle/images/base/Dockerfile12
1 files changed, 4 insertions, 8 deletions
diff --git a/sandcastle/images/base/Dockerfile b/sandcastle/images/base/Dockerfile
index d43ab65..a6874e1 100644
--- 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) && \