Skip to content

Instantly share code, notes, and snippets.

@procrastinatio
Created January 24, 2022 16:20
Show Gist options
  • Save procrastinatio/5135a10a1551eaf899f6fbfd48e94a34 to your computer and use it in GitHub Desktop.
Save procrastinatio/5135a10a1551eaf899f6fbfd48e94a34 to your computer and use it in GitHub Desktop.
#/bin/bash
# Install script for mapfish-print v3 on Ubunut 20.04 (focal)
sudo apt-get update && sudo apt-get install -y docker git make build-essential
sudo apt-get install -y openjdk-13-jdk && export JAVA_HOME=/usr/lib/jvm/java-13-openjdk-arm64
git clone https://github.com/mapfish/mapfish-print.git && cd mapfish-print/
sudo apt install -y docker-compose docker
sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock
chmod 755 gradlew
make build
./gradlew print -PprintArgs="-help"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment