mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
Fix dockerfile for arm32/64
This commit is contained in:
parent
bad09887e0
commit
d5f2b1126c
2 changed files with 4 additions and 2 deletions
|
@ -48,7 +48,7 @@ RUN mkdir /opt/litecoin && cd /opt/litecoin \
|
|||
FROM debian:buster-slim as builder
|
||||
|
||||
ENV LIGHTNINGD_VERSION=master
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates autoconf automake build-essential gettext git libtool python3 python3-mako wget gnupg dirmngr git \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates autoconf automake build-essential gettext git libtool python3 python3-pip python3-setuptools python3-mako wget gnupg dirmngr git \
|
||||
libc6-armhf-cross gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
|
||||
|
||||
ENV target_host=arm-linux-gnueabihf
|
||||
|
@ -92,6 +92,7 @@ RUN git clone --recursive /tmp/lightning . && \
|
|||
|
||||
ARG DEVELOPER=0
|
||||
ENV PYTHON_VERSION=3
|
||||
RUN pip3 install mrkd
|
||||
RUN ./configure --prefix=/tmp/lightning_install --enable-static && make -j3 DEVELOPER=${DEVELOPER} && make install
|
||||
|
||||
FROM arm32v7/debian:buster-slim as final
|
||||
|
|
|
@ -48,7 +48,7 @@ RUN mkdir /opt/litecoin && cd /opt/litecoin \
|
|||
FROM debian:buster-slim as builder
|
||||
|
||||
ENV LIGHTNINGD_VERSION=master
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates autoconf automake build-essential gettext git libtool python3 python3-mako wget gnupg dirmngr git \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates autoconf automake build-essential gettext git libtool python3 python3-pip python3-setuptools python3-mako wget gnupg dirmngr git \
|
||||
libc6-arm64-cross gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
|
||||
|
||||
ENV target_host=aarch64-linux-gnu
|
||||
|
@ -91,6 +91,7 @@ RUN git clone --recursive /tmp/lightning . && \
|
|||
|
||||
ARG DEVELOPER=0
|
||||
ENV PYTHON_VERSION=3
|
||||
RUN pip3 install mrkd
|
||||
RUN ./configure --prefix=/tmp/lightning_install --enable-static && make -j3 DEVELOPER=${DEVELOPER} && make install
|
||||
|
||||
FROM arm64v8/debian:buster-slim as final
|
||||
|
|
Loading…
Add table
Reference in a new issue