summaryrefslogtreecommitdiff
blob: 7e4792f30488e2a457450a3fdfd21bb14ea64842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

USER=${1:-gplanet}
GROUP=${2:-gplanet}

mkdir -p htdocs data
chown -R $USER:$GROUP htdocs data

docker run --privileged \
           --mount type=bind,source="$(pwd)"/htdocs,target=/var/www/planet.gentoo.org/build \
           --mount type=bind,source="$(pwd)"/data,target=/var/www/planet.gentoo.org/data \
           gentoo/planet-pluto:latest