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"]