@@ -0,0 +1,3 @@
+[submodule "json-c"]
+ path = json-c
+ url = https://github.com/json-c/json-c
@@ -0,0 +1,20 @@
+FROM ubuntu:18.04
+
+RUN apt-get update && apt-get install --yes \
+ autoconf \
+ automake \
+ gcc \
+ libtool \
+ make
+RUN useradd builder
+RUN mkdir /json-c-install && chown builder:nogroup /json-c-install
+USER builder
+COPY --chown=builder:nogroup ./json-c /json-c
+WORKDIR /json-c
+RUN sh autogen.sh
+RUN ./configure --prefix=/json-c-install --enable-threading
+RUN make
+RUN make check
+RUN make install
@@ -0,0 +1 @@
+Subproject commit 985c46fec39d1d3043f98e8d8cdb9d040131b3bb