From c84df86f8d793f0d9a0fae3238a688410a92114f Mon Sep 17 00:00:00 2001 From: Quanyi Ma Date: Sun, 8 Sep 2024 12:51:40 +0800 Subject: [PATCH] Update Dockerfiles of mono and aries Signed-off-by: Quanyi Ma --- docker/aries-engine-dockerfile | 12 ++++-------- docker/mono-engine-dockerfile | 10 ++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/docker/aries-engine-dockerfile b/docker/aries-engine-dockerfile index c7d0e1619..abfa984e4 100644 --- a/docker/aries-engine-dockerfile +++ b/docker/aries-engine-dockerfile @@ -19,13 +19,9 @@ RUN if [ "$BUILD_TYPE" != "release" ] && [ "$BUILD_TYPE" != "debug" ]; then \ RUN apt-get update && apt-get install -y \ cmake \ clang \ - build-essential - -RUN apt-get install -y \ + build-essential \ nodejs \ - npm - -RUN apt-get install -y \ + npm \ curl \ wget \ file \ @@ -65,8 +61,8 @@ RUN chmod +x /usr/local/bin/start-aries.sh RUN chmod +x /usr/local/bin/aries COPY --from=builder /opt/mega/target/$BUILD_TYPE/libpipy.so /usr/local/lib/libpipy.so # refresh shared library cache -RUN ldconfig +RUN ldconfig VOLUME /opt/mega -CMD ["bash", "-c", "/usr/local/bin/start-aries.sh"] \ No newline at end of file +CMD ["bash", "-c", "/usr/local/bin/start-aries.sh"] diff --git a/docker/mono-engine-dockerfile b/docker/mono-engine-dockerfile index f78f82351..ef9dfbb09 100644 --- a/docker/mono-engine-dockerfile +++ b/docker/mono-engine-dockerfile @@ -19,13 +19,7 @@ RUN if [ "$BUILD_TYPE" != "release" ] && [ "$BUILD_TYPE" != "debug" ]; then \ RUN apt-get update && apt-get install -y \ cmake \ clang \ - build-essential - -RUN apt-get install -y \ - nodejs \ - npm - -RUN apt-get install -y \ + build-essential \ curl \ wget \ file \ @@ -63,4 +57,4 @@ RUN chmod +x /usr/local/bin/mono VOLUME /opt/mega -CMD ["bash", "-c", "/usr/local/bin/start-mono.sh"] \ No newline at end of file +CMD ["bash", "-c", "/usr/local/bin/start-mono.sh"]