Your locally hosted lumina server for IDAPro
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add build.Dockerfile

Naim A 1ed407c7 6cd48dac

+31 -2
+1 -2
.dockerignore
··· 1 1 .env 2 - LICENSE 3 - README.md 4 2 custom 5 3 docker-compose.yml 4 + target/
+30
build.Dockerfile
··· 1 + 2 + # docker build -t lumen-builer -f build.Dockerfile . 3 + # docker run --rm -v `pwd`/out:/out -it lumen-builder 4 + 5 + FROM rust:latest 6 + RUN apt -y update && apt install -y mingw-w64 zip jq 7 + RUN rustup target add x86_64-pc-windows-gnu 8 + 9 + COPY Cargo.toml /usr/src/lumen/Cargo.toml 10 + COPY Cargo.lock /usr/src/lumen/Cargo.lock 11 + COPY common /usr/src/lumen/common 12 + COPY lumen /usr/src/lumen/lumen 13 + WORKDIR /usr/src/lumen 14 + RUN cargo fetch 15 + 16 + RUN cargo build --release --target x86_64-unknown-linux-gnu && \ 17 + cargo build --release --target x86_64-pc-windows-gnu 18 + 19 + COPY README.md /usr/src/lumen/ 20 + COPY LICENSE /usr/src/lumen/ 21 + COPY config-example.toml /usr/src/lumen/ 22 + 23 + VOLUME [ "/out" ] 24 + CMD mkdir /tmp/out/ && \ 25 + cp README.md LICENSE config-example.toml /tmp/out/ && \ 26 + cp target/x86_64-unknown-linux-gnu/release/lumen /tmp/out/ && \ 27 + cp target/x86_64-pc-windows-gnu/release/lumen.exe /tmp/out/ && \ 28 + cd /tmp/out/ && \ 29 + tar czvf /out/lumen-x86_64-unknown-linux-gnu.tar.gz README.md LICENSE config-example.toml lumen && \ 30 + zip -9 /out/lumen-x86_64-pc-windows-gnu.zip README.md LICENSE config-example.toml lumen.exe