mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
c0c826d2ee
Changelog-None: introduce in ci the compilation testing on different os Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
24 lines
701 B
Docker
24 lines
701 B
Docker
FROM alpine:3.14.3
|
|
LABEL org.opencontainers.image.authors="Vincenzo Palazzo (@vincenzopalazzo) vincenzopalazzodev@gmail.com"
|
|
|
|
WORKDIR /build
|
|
|
|
RUN apk update && \
|
|
apk add ca-certificates alpine-sdk autoconf automake git libtool \
|
|
gmp-dev sqlite-dev python3 py3-mako net-tools zlib-dev libsodium gettext su-exec \
|
|
python3 py3-pip #&& \
|
|
#apk add --upgrade fortify-headers
|
|
|
|
RUN mkdir lightning
|
|
COPY . lightning
|
|
|
|
RUN cd lightning && \
|
|
git submodule update --init --recursive && \
|
|
./configure && \
|
|
pip3 install mrkd mistune==0.8.4 && \
|
|
make -j$(nproc) && \
|
|
make install
|
|
|
|
# TODO: review entry point here, to make this availale for the user
|
|
CMD ["lightningd", "--version"]
|