Commit 8bce7c48 authored by Volker Krause's avatar Volker Krause Committed by Torsten Rahn
Browse files

Add build environment for

parent 5b9471e0
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get -y install \
cmake \
g++ \
git \
libprotobuf-dev \
libqt5svg5-dev \
libshp-dev \
protobuf-compiler \
qtbase5-dev \
COPY /usr/bin/
build: image
mkdir -p output
docker run -it --rm -v `pwd`/output:/output vkrause/marble-builder
image: Dockerfile
docker build -t vkrause/marble-builder .
git clone
cd marble
mkdir build
cd build
cmake -DSTATIC_BUILD=1 \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" \
make -j 4
# extract the relevant output
mkdir -p /output/usr/bin
cp tools/vectorosm-tilecreator/marble-vectorosm-tirex-backend /output/usr/bin/
cp tools/vectorosm-tilecreator/marble-vectorosm-process-land-polygons /output/usr/bin/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment