-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sh
executable file
·28 lines (24 loc) · 1.1 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
######## MAIN ####################################################################
# Create a basic buildroot environment
docker build -t inaetics/buildroot_basic buildroot_basic
docker build -t inaetics/buildroot_server buildroot_server
docker build -t inaetics/buildroot_tools buildroot_tools
# Add the latest Celix development release as package to it
docker build -t inaetics/buildroot_minimum_celix buildroot_minimum_celix
# Create the cagent_builder to build the inaetics celix-agent and
# to build application bundles that can run in this celix-agent
docker build -t inaetics/cagent_builder cagent_builder
# Create script to build bundles
docker run inaetics/cagent_builder build_script > cagent_builder.sh
chmod +x cagent_builder.sh
# Create celix-agent
./cagent_builder.sh make_celix_agent
# Create "default" node-agent bundles
./cagent_builder.sh make_node_agent_bundles
# Create node-wiring bundles
git clone https://github.com/INAETICS/node-wiring-c.git
cd node-wiring-c; ../cagent_builder.sh make_bundles
# Example how to create a bundle
# cd example_bundle; ../cagent_builder.sh make_bundles
#