From 79d658e010feddda55ed01071716a46acddc7ea7 Mon Sep 17 00:00:00 2001 From: GuangJie1 Date: Mon, 25 Aug 2025 15:11:57 +0800 Subject: [PATCH] update mongoose rename file --- Others/mongoose/7.18/24.03-lts-sp2/Dockerfile | 8 ++++---- Others/mongoose/7.18/24.03-lts-sp2/{main.c => example.c} | 0 Others/mongoose/meta.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename Others/mongoose/7.18/24.03-lts-sp2/{main.c => example.c} (100%) diff --git a/Others/mongoose/7.18/24.03-lts-sp2/Dockerfile b/Others/mongoose/7.18/24.03-lts-sp2/Dockerfile index 48ebb536..c1290a66 100644 --- a/Others/mongoose/7.18/24.03-lts-sp2/Dockerfile +++ b/Others/mongoose/7.18/24.03-lts-sp2/Dockerfile @@ -7,11 +7,11 @@ RUN yum install -y gcc-c++ wget && \ WORKDIR /mongoose -COPY main.c . +COPY example.c . -RUN wget https://github.com/cesanta/mongoose/archive/refs/tags/7.18.tar.gz \ - && tar -zxvf 7.18.tar.gz -C /mongoose --strip-components=1 \ - && gcc main.c mongoose.c -o server -lpthread +RUN wget https://github.com/cesanta/mongoose/archive/refs/tags/${VERSION}.tar.gz \ + && tar -zxvf ${VERSION}.tar.gz -C /mongoose --strip-components=1 \ + && gcc example.c mongoose.c -o server -lpthread FROM ${BASE} diff --git a/Others/mongoose/7.18/24.03-lts-sp2/main.c b/Others/mongoose/7.18/24.03-lts-sp2/example.c similarity index 100% rename from Others/mongoose/7.18/24.03-lts-sp2/main.c rename to Others/mongoose/7.18/24.03-lts-sp2/example.c diff --git a/Others/mongoose/meta.yml b/Others/mongoose/meta.yml index 938ebbaf..ca299e07 100644 --- a/Others/mongoose/meta.yml +++ b/Others/mongoose/meta.yml @@ -1,4 +1,4 @@ 5.1-oe2403sp1: path: 5.1/24.03-lts-sp1/Dockerfile -57.18-oe2403sp2: +7.18-oe2403sp2: path: 7.18/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee