Remove HERA from base image

This commit is contained in:
Rodrigo Q. Saramago 2023-02-17 10:22:11 +01:00
parent 1fbc17ba05
commit f4ab85da3e
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359

View File

@ -57,18 +57,6 @@ RUN set -ex; \
ninja install/strip; \
rm -rf /usr/src/evmone
# HERA
RUN set -ex; \
cd /usr/src; \
git clone --branch="v0.6.0" --depth 1 --recurse-submodules https://github.com/ewasm/hera.git; \
cd hera; \
mkdir build; \
cd build; \
cmake -G Ninja -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="/usr" ..; \
ninja; \
ninja install/strip; \
rm -rf /usr/src/hera
FROM base
COPY --from=libraries /usr/lib /usr/lib
COPY --from=libraries /usr/bin /usr/bin