mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 09:36:43 +00:00
37
arch.Dockerfile
Normal file
37
arch.Dockerfile
Normal file
@ -0,0 +1,37 @@
|
||||
# arch based Dockerfile built by mleku
|
||||
# npub1mlekuhhxqq6p8w9x5fs469cjk3fu9zw7uptujr55zmpuhhj48u3qnwx3q5
|
||||
# this is a basic dockerfile showing the build on arch linux
|
||||
|
||||
FROM archlinux:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
# update pacman keys and sync repos
|
||||
RUN pacman -Syu --noconfirm
|
||||
|
||||
RUN pacman -S --noconfirm \
|
||||
# build essentials
|
||||
base-devel git \
|
||||
# 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
|
||||
|
||||
# update submodules
|
||||
RUN git submodule update --init
|
||||
|
||||
# build golpe
|
||||
RUN make setup-golpe
|
||||
|
||||
# build strfry
|
||||
RUN make
|
||||
|
||||
EXPOSE 7777
|
||||
|
||||
ENTRYPOINT ["/app/strfry"]
|
||||
CMD ["relay"]
|
Reference in New Issue
Block a user