Skip to content

--disable-wallet during build still seems to require berkeley DB libraries #134

Description

@dennisvanderpool

Created a dockerfile (work in progress), does not want to build. Complaining about berkeley DB4_cxx.h not found.

FROM ubuntu:latest

RUN apt update -y &&
apt upgrade -y

RUN apt-get install -y git

install packages needed to build vericoind

RUN apt install -y
build-essential
libtool
autotools-dev
automake
pkg-config
libssl-dev
libevent-dev
bsdmainutils
libcurl4-openssl-dev
zlib1g-dev
libminizip-dev
libboost-all-dev

python3

install additional packages

RUN apt install -y iftop lsb-release multitail pax-utils tree unzip vim wget

RUN git clone -v https://github.com/VeriumReserve/verium.git ~/verium

install Berkeley DB 4.8

RUN cd ~/verium &&
./contrib/install_db4.sh ~/verium

configure build

RUN export BDB_PREFIX="${HOME}/verium/db4" &&
cd ~/verium/ &&
./autogen.sh &&
./configure --disable-wallet
--enable-hardening
--without-gui
--without-miniupnpc
--with-pic
--prefix=$BDB_PREFIX
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8"
BDB_CFLAGS="-I${BDB_PREFIX}/include"

run the build

RUN cd ~/verium/ &&
make &&
make install

RUN cp ~/verium/src/veriumd /usr/bin/

RUN strip /usr/bin/veriumd

EXPOSE 36988

CMD ["veriumd"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions