Blame view

docker/install.sh 455 Bytes
6b13f685e   김민수   BSP 최초 추가
1
  #!/bin/sh
2a3257134   김민수   네이밍 정리
2
  PACKAGE_NAME=prime_oven
6b13f685e   김민수   BSP 최초 추가
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  
  echo "[*] Building docker image for ${PACKAGE_NAME}"
  docker build -t ${PACKAGE_NAME} .
  
  echo "[*] Copying runner script ~/bin"
  mkdir -p ~/bin/
  
  for RUNNER in runner/*
  do
      case $RUNNER in
      runner/docker-runner*)
          echo " = copy $RUNNER"
          cp --remove-destination $RUNNER ~/bin/
          ;;
      *)
          echo " = copy $RUNNER"
          cp -a --remove-destination $RUNNER ~/bin/
          ;;
      esac
  done