summaryrefslogtreecommitdiff
path: root/builder
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2026-03-08 22:21:46 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2026-03-08 22:21:46 +0100
commit6c0a70b57cacb212bf70221f80aa44718c2de9ec (patch)
treeb6d277283ab0da508a0c991c822e99de999e811d /builder
parent8006c4ea999e421e6603912a0120922ea7063c18 (diff)
chore, more optimal dockerfile
Diffstat (limited to 'builder')
-rw-r--r--builder/Dockerfile32
1 files changed, 13 insertions, 19 deletions
diff --git a/builder/Dockerfile b/builder/Dockerfile
index f1406e2..f034e29 100644
--- a/builder/Dockerfile
+++ b/builder/Dockerfile
@@ -21,25 +21,19 @@ FROM builder_base AS contrib_simplybs
COPY contrib/depends /w/contrib/depends
RUN sudo chown -R user:user /w \
&& cd /w/contrib/depends \
- && make simplybs \
- && make HOST=aarch64-linux-android \
- && make HOST=aarch64-linux-android BOOST_VERSION=1_83_0 \
- && make HOST=x86_64-linux-android \
- && make HOST=x86_64-linux-android BOOST_VERSION=1_83_0 \
- && make HOST=armv7a-linux-androideabi \
- && make HOST=armv7a-linux-androideabi BOOST_VERSION=1_83_0 \
- && make HOST=aarch64-linux-gnu \
- && make HOST=aarch64-linux-gnu BOOST_VERSION=1_83_0 \
- && make HOST=x86_64-linux-gnu \
- && make HOST=x86_64-apple-darwin \
- && make HOST=x86_64-apple-darwin BOOST_VERSION=1_83_0 \
- && make HOST=aarch64-apple-darwin \
- && make HOST=aarch64-apple-darwin BOOST_VERSION=1_83_0 \
- && make HOST=aarch64-apple-ios \
- && make HOST=aarch64-apple-ios BOOST_VERSION=1_83_0 \
- && make HOST=aarch64-apple-ios-simulator \
- && make HOST=aarch64-apple-ios-simulator BOOST_VERSION=1_83_0 \
- && make sbs-cleanup
+ && make simplybs
+WORKDIR /w/contrib/depends
+
+RUN make HOST=aarch64-linux-android && make HOST=aarch64-linux-android BOOST_VERSION=1_83_0 && make sbs-cleanup
+RUN make HOST=x86_64-linux-android && make HOST=x86_64-linux-android BOOST_VERSION=1_83_0 && make sbs-cleanup
+RUN make HOST=armv7a-linux-androideabi && make HOST=armv7a-linux-androideabi BOOST_VERSION=1_83_0 && make sbs-cleanup
+RUN make HOST=x86_64-w64-mingw32 && make sbs-cleanup
+RUN make HOST=aarch64-linux-gnu && make sbs-cleanup
+RUN make HOST=x86_64-linux-gnu && make sbs-cleanup
+RUN make HOST=x86_64-apple-darwin && make sbs-cleanup
+RUN make HOST=aarch64-apple-darwin && make sbs-cleanup
+RUN make HOST=aarch64-apple-ios && make HOST=aarch64-apple-ios BOOST_VERSION=1_83_0 && make sbs-cleanup
+RUN make HOST=aarch64-apple-ios-simulator && make HOST=aarch64-apple-ios-simulator BOOST_VERSION=1_83_0 && make sbs-cleanup
FROM builder_base AS monero_c_base
COPY . /w