~dvn/secushareBOX-OpenWRT

ref: 8dee65339d5f37738e053ee2e9c2014dbaff039b secushareBOX-OpenWRT/.builds/openwrt-prebuilt-docker.yml -rw-r--r-- 704 bytes
8dee6533 — Devan Carpenter builds/ci: rework directory structure; additional build 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: archlinux
packages:
  - docker
tasks:
  - prepare_docker: |
      sudo mount -t tmpfs -o size=4G /dev/null /dev/shm && sleep 2
      sudo nohup dockerd --bip 172.18.0.1/16 </dev/null >/dev/null 2>&1 &
      sudo usermod -aG docker $(whoami)
  - build_image: |
      cd ~/secushareBOX
      docker build -t gnunet-openwrt -f ci/dockerfiles/openwrt/Dockerfile.prebuilt-packages .
  - run_container: |
      cd ~/secushareBOX
      docker run -t -d --name gnunet-openwrt -v /dev/net/tun:/dev/net/tun gnunet-openwrt
  - test_identity: |
      docker cp ~/secushareBOX/tests/openwrt/create-zone.sh gnunet-openwrt:/create-zone.sh
      docker exec -ti gnunet-openwrt sh /create-zone.sh