Skip to content

Commit b108d99

Browse files
committed
Add initial docker build script
1 parent 7d34343 commit b108d99

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build_docker.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
# Build the docker image
4+
5+
docker buildx build -t lib-builder-husarnet:master \
6+
--build-arg LIBBUILDER_CLONE_BRANCH_OR_TAG=master \
7+
--build-arg LIBBUILDER_CLONE_SHALLOW=1 \
8+
--build-arg LIBBUILDER_CLONE_URL=https://github.com/miloszlagan/esp32-arduino-lib-builder \
9+
tools/docker
10+
11+
# Build Arduino libs
12+
13+
docker run --rm -it -v $PWD:/arduino-esp32 -e TERM=xterm-256color lib-builder-husarnet:master ./build.sh

0 commit comments

Comments
 (0)