~dvn/secushareBOX-OpenWRT

ref: 8dee65339d5f37738e053ee2e9c2014dbaff039b secushareBOX-OpenWRT/.builds/openwrt-docker-glibc-build.yml -rw-r--r-- 678 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_docker_image: |
      cd ~/secushareBOX
      docker build -t openwrt-builder -f ci/dockerfiles/Dockerfile.openwrt-builder .
  - build_openwrt_image: |
      cd ~/secushareBOX
      docker run -ti \
      -v ci/configs/openwrt/openwrt-docker-glibc.config:/home/user/.config \
      -v ci/scripts/openwrt/build-image.sh:/home/user/build-image.sh \
      openwrt-builder /bin/sh /home/user/build-image.sh