mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-18 09:17:12 +00:00
polished and better comments
This commit is contained in:
@ -1,34 +1,35 @@
|
|||||||
# arch based Dockerfile built by mleku
|
# arch based Dockerfile built by mleku
|
||||||
# npub1mlekuhhxqq6p8w9x5fs469cjk3fu9zw7uptujr55zmpuhhj48u3qnwx3q5
|
# npub1mlekuhhxqq6p8w9x5fs469cjk3fu9zw7uptujr55zmpuhhj48u3qnwx3q5
|
||||||
|
# this is a basic dockerfile showing the build on arch linux
|
||||||
|
|
||||||
FROM archlinux:latest AS build
|
FROM archlinux:latest
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# update pacman keys and sync repos
|
||||||
RUN pacman -Syu --noconfirm
|
RUN pacman -Syu --noconfirm
|
||||||
RUN pacman -S --noconfirm base-devel git
|
|
||||||
|
|
||||||
# perl things
|
RUN pacman -S --noconfirm \
|
||||||
RUN pacman -S --noconfirm cpanminus
|
# build essentials
|
||||||
RUN pacman -S --noconfirm perl-template-toolkit
|
base-devel git \
|
||||||
RUN pacman -S --noconfirm perl-yaml
|
# perl stuff
|
||||||
|
cpanminus perl-template-toolkit perl-yaml \
|
||||||
|
# flatbuffers, lmdb, libsecp256k1
|
||||||
|
flatbuffers lmdb libsecp256k1
|
||||||
|
|
||||||
|
# necessary perl pod
|
||||||
RUN /usr/bin/vendor_perl/cpanm Regexp::Grammars
|
RUN /usr/bin/vendor_perl/cpanm Regexp::Grammars
|
||||||
|
|
||||||
# flatbuffers
|
# update submodules
|
||||||
RUN pacman -S --noconfirm flatbuffers
|
RUN git submodule update --init
|
||||||
|
|
||||||
# lmdb
|
# build golpe
|
||||||
RUN pacman -S --noconfirm lmdb
|
RUN make setup-golpe
|
||||||
|
|
||||||
# secp256k1
|
|
||||||
RUN pacman -S --noconfirm libsecp256k1
|
|
||||||
|
|
||||||
# build strfry
|
# build strfry
|
||||||
RUN git submodule update --init
|
RUN make
|
||||||
RUN make setup-golpe
|
|
||||||
RUN make -j4
|
|
||||||
|
|
||||||
EXPOSE 7777
|
EXPOSE 7777
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user