We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6de6a commit 0942822Copy full SHA for 0942822
resources/images/bitcoin/insecure/Dockerfile
@@ -48,7 +48,12 @@ RUN mkdir -p ${BERKELEYDB_PREFIX}
48
49
WORKDIR /${BERKELEYDB_VERSION}/build_unix
50
51
-RUN ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=${BERKELEYDB_PREFIX}
+ARG TARGETPLATFORM
52
+RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
53
+ ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=${BERKELEYDB_PREFIX} --build=aarch64-unknown-linux-gnu; \
54
+else \
55
+ ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=${BERKELEYDB_PREFIX}; \
56
+fi
57
RUN make -j$(nproc)
58
RUN make install
59
RUN rm -rf ${BERKELEYDB_PREFIX}/docs
0 commit comments