Overlay buildpack providing Wiring preprocessing
10K+
This buildpack preprocesses .ino files into .cpp.
It inherits base buildpack.
This behavior can be disabled adding #pragma SPARK_NO_PREPROCESSOR to Arduino file.
Before building this image, build or fetch buildpack-base.
$ export BUILDPACK_IMAGE=wiring-preprocessor
$ git clone "[email protected]:spark/buildpack-${BUILDPACK_IMAGE}.git"
$ cd buildpack-$BUILDPACK_IMAGE
$ docker build -t particle/buildpack-$BUILDPACK_IMAGE .
This buildpack requires two volumes to be mounted: /input and /output. To preprocess code simply run the container:
$ docker run --rm \
-v ~/tmp/input:/input \
-v ~/tmp/output:/output \
particle/buildpack-wiring-preprocessor
Where ~/tmp/input is location of Wiring code and ~/tmp/output is where preprocessed code will be stored.
Content type
Image
Digest
sha256:2dbe98337…
Size
146.3 MB
Last updated
over 8 years ago
docker pull particle/buildpack-wiring-preprocessor