-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Array and Objects converted to json_t also added Containerfile
Signed-off-by: Sourav Moitra <[email protected]>
- Loading branch information
Showing
5 changed files
with
232 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
autoconf \ | ||
build-essential \ | ||
git \ | ||
libtool \ | ||
pkg-config \ | ||
python3 | ||
|
||
|
||
COPY . libocispec | ||
|
||
RUN cd libocispec/jansson && autoreconf -fi && ./configure && make && make install | ||
|
||
RUN cd libocispec && \ | ||
export JANSSON_CFLAGS=-I/usr/local/include && \ | ||
export JANSSON_LIBS=/usr/local/lib/libjansson.so && \ | ||
./autogen.sh --enable-embedded-yajl && \ | ||
./configure --enable-embedded-yajl CFLAGS='-Wall -Wextra -Werror' && \ | ||
make -j $(nproc) distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-embedded-yajl" AM_DISTCHECK_DVI_TARGET="" TESTS="" && \ | ||
make clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.