mirror of https://github.com/oxen-io/lokinet
Add initial dockerfile support
This provides a simple way to do quick cross-platform verification of changes. `make docker-debian` will build a debian image and run the tests `make docker-fedora` will build a fedora image and run the testspull/38/head^2
parent
080c0da4a0
commit
01445399f0
@ -0,0 +1 @@
|
|||||||
|
build/
|
@ -0,0 +1,10 @@
|
|||||||
|
FROM debian:latest
|
||||||
|
|
||||||
|
RUN apt update && \
|
||||||
|
apt install -y build-essential cmake git libcap-dev wget rapidjson-dev
|
||||||
|
|
||||||
|
WORKDIR /src/
|
||||||
|
|
||||||
|
COPY . /src/
|
||||||
|
|
||||||
|
RUN make -j 8 JSONRPC=ON
|
@ -0,0 +1,11 @@
|
|||||||
|
FROM fedora:latest
|
||||||
|
|
||||||
|
RUN dnf update -y && \
|
||||||
|
dnf upgrade -y && \
|
||||||
|
dnf install -y cmake make git gcc gcc-c++ libcap-devel wget rapidjson-devel
|
||||||
|
|
||||||
|
WORKDIR /src/
|
||||||
|
|
||||||
|
COPY . /src/
|
||||||
|
|
||||||
|
RUN make -j8 JSONRPC=ON
|
Loading…
Reference in New Issue