#!/bin/bash

# Small script to fully setup environment

if [ $(hostname) == "scionfull" ]; then
    sudo service zookeeper start
    ./scion.sh setup
fi

# Can't be fixed during build due to
# https://github.com/docker/docker/issues/6828
sudo chmod g+s /usr/bin/screen

# Properly setup terminal to allow use of screen, etc:
exec bash -l >/dev/tty 2>/dev/tty </dev/tty

#!/bin/bash

# Small script to fully setup environment

sudo service zookeeper start
./scion.sh setup

# Can't be fixed during build due to
# https://github.com/docker/docker/issues/6828
sudo chmod g+s /usr/bin/screen

# Properly setup terminal to allow use of screen, etc:
exec bash -l >/dev/tty 2>/dev/tty </dev/tty

Fix zookeeper not running in docker
Fix zookeeper not running in docker
