init_container.sh 337 Bytes
Newer Older
1
2
#!/bin/bash

Lasse Lensu's avatar
Lasse Lensu committed
3
4
#source="/home/$USER"
source="$HOME"
5
6

if [ ! -d "$source" ]; then
Lasse Lensu's avatar
Lasse Lensu committed
7
8
#    source="/home/$USER"
    source="$HOME"
9
10
11
12
13
14
15
16
17
18
fi

mkdir $source/docker
mkdir $source/docker/env
mkdir $source/docker/.jupyter
mkdir $source/docker/work

dir="`dirname "$(readlink -f "$0")"`"

$dir/execute_in_container.sh "$@" /home/init_container_internal.sh