File tree Expand file tree Collapse file tree 4 files changed +48
-0
lines changed
scripts/docker/buildpack-deps Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,18 @@ RUN set -ex; \
9696 ninja install/strip; \
9797 rm -rf /usr/src/evmone
9898
99+ # HERA
100+ RUN set -ex; \
101+ cd /usr/src; \
102+ git clone --branch="v0.3.0" --recurse-submodules https://github.com/ewasm/hera.git; \
103+ cd hera; \
104+ mkdir build; \
105+ cd build; \
106+ cmake -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="/usr" ..; \
107+ ninja; \
108+ ninja install/strip; \
109+ rm -rf /usr/src/hera
110+
99111FROM base
100112COPY --from=libraries /usr/lib /usr/lib
101113COPY --from=libraries /usr/bin /usr/bin
Original file line number Diff line number Diff line change @@ -88,6 +88,18 @@ RUN set -ex; \
8888 tar xzpf $TGZFILE -C /usr; \
8989 rm -f $TGZFILE;
9090
91+ # HERA
92+ RUN set -ex; \
93+ cd /usr/src; \
94+ git clone --branch="v0.3.0" --recurse-submodules https://github.com/ewasm/hera.git; \
95+ cd hera; \
96+ mkdir build; \
97+ cd build; \
98+ cmake -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="/usr" ..; \
99+ ninja; \
100+ ninja install/strip; \
101+ rm -rf /usr/src/hera
102+
91103FROM base
92104COPY --from=libraries /usr/lib /usr/lib
93105COPY --from=libraries /usr/bin /usr/bin
Original file line number Diff line number Diff line change @@ -57,6 +57,18 @@ RUN set -ex; \
5757 ninja install/strip; \
5858 rm -rf /usr/src/evmone
5959
60+ # HERA
61+ RUN set -ex; \
62+ cd /usr/src; \
63+ git clone --branch="v0.3.0" --recurse-submodules https://github.com/ewasm/hera.git; \
64+ cd hera; \
65+ mkdir build; \
66+ cd build; \
67+ cmake -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="/usr" ..; \
68+ ninja; \
69+ ninja install/strip; \
70+ rm -rf /usr/src/hera
71+
6072FROM base
6173COPY --from=libraries /usr/lib /usr/lib
6274COPY --from=libraries /usr/bin /usr/bin
Original file line number Diff line number Diff line change @@ -59,6 +59,18 @@ RUN set -ex; \
5959 ninja install/strip; \
6060 rm -rf /usr/src/evmone
6161
62+ # HERA
63+ RUN set -ex; \
64+ cd /usr/src; \
65+ git clone --branch="v0.3.0" --recurse-submodules https://github.com/ewasm/hera.git; \
66+ cd hera; \
67+ mkdir build; \
68+ cd build; \
69+ cmake -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="/usr" ..; \
70+ ninja; \
71+ ninja install/strip; \
72+ rm -rf /usr/src/hera
73+
6274FROM base
6375COPY --from=libraries /usr/lib /usr/lib
6476COPY --from=libraries /usr/bin /usr/bin
You can’t perform that action at this time.
0 commit comments