Blame view

docker/install.sh 454 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  #!/bin/sh
  
  PACKAGE_NAME=prime-qt5
  
  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