From 71d682560371331219979324208c5bd440fc86dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Guti=C3=A9rrez?= Date: Fri, 28 Mar 2025 17:38:11 +0100 Subject: [PATCH] fix --- .drone.yml | 8 ++++---- Dockerfile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index c340edb..67bc366 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,11 +9,11 @@ platform: steps: - name: prepare workspace - image: alpine + image: alpine:3.21 commands: - rm -fr build_dir - name: build hermes - image: alpine + image: alpine:3.21 commands: - apk add -t hermes-build-deps --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3 boost-dev fmt-dev - cmake -B build_dir -D BUILD_DOCS=ON @@ -35,11 +35,11 @@ platform: steps: - name: prepare workspace - image: alpine + image: alpine:3.21 commands: - rm -fr build_dir - name: build hermes - image: alpine + image: alpine:3.21 commands: - apk add -t hermes-build-deps --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3 boost-dev fmt-dev - cmake -B build_dir diff --git a/Dockerfile b/Dockerfile index f343e6b..e4a1771 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ -FROM alpine:3.18 +FROM alpine:3.21 ADD . /hermes WORKDIR /hermes -RUN apk add --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3 boost-dev fmt-dev +RUN apk add --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3 boost-dev fmt RUN cmake -B build RUN cmake --build build RUN mkdir /hermes-installation RUN cmake --install build --prefix /hermes-installation -FROM alpine:3.18 +FROM alpine:3.21 EXPOSE 25 COPY --from=0 /hermes-installation /hermes -RUN apk add --no-cache openssl libspf2 sqlite-libs libstdc++ libgcc fmt +RUN apk add --no-cache openssl libspf2 sqlite-libs libstdc++ libgcc CMD ["/hermes/bin/hermes", "/config/hermesrc"]