#!/bin/bash

mkdir -p docker
sed "s/USER_ID/$(id -u)/; s/GROUP_ID/$(id -g)/" Dockerfile.in > docker/Dockerfile
cp -av client.py dirauth.py network.py relay.py simulator.py docker/
cp -av analysis/analytical.py analysis/bytecounts.py analysis/parselogs.py analysis/plotdats.py docker/
echo "deflogin off" > docker/.screenrc
cd docker && docker build -t walkingonions .
