#!/bin/bash

source /home/gosdn/.profile
# Clone goSDN
git clone https://code.fbi.h-da.de/danet/gosdn.git
cd ~/gosdn
git submodule update --init --recursive

# Build goSDN
make build

# Clone gNMI-Target
cd ~/
git clone --branch develop https://code.fbi.h-da.de/danet/gnmi-target.git
cd gnmi-target

# Build gNMI-Target
docker build -f target.Dockerfile .
make container
