This commit is contained in:
parent
8171f9666a
commit
71d6825603
2 changed files with 8 additions and 8 deletions
|
@ -9,11 +9,11 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: prepare workspace
|
- name: prepare workspace
|
||||||
image: alpine
|
image: alpine:3.21
|
||||||
commands:
|
commands:
|
||||||
- rm -fr build_dir
|
- rm -fr build_dir
|
||||||
- name: build hermes
|
- name: build hermes
|
||||||
image: alpine
|
image: alpine:3.21
|
||||||
commands:
|
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
|
- 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
|
- cmake -B build_dir -D BUILD_DOCS=ON
|
||||||
|
@ -35,11 +35,11 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: prepare workspace
|
- name: prepare workspace
|
||||||
image: alpine
|
image: alpine:3.21
|
||||||
commands:
|
commands:
|
||||||
- rm -fr build_dir
|
- rm -fr build_dir
|
||||||
- name: build hermes
|
- name: build hermes
|
||||||
image: alpine
|
image: alpine:3.21
|
||||||
commands:
|
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
|
- 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
|
- cmake -B build_dir
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
FROM alpine:3.18
|
FROM alpine:3.21
|
||||||
ADD . /hermes
|
ADD . /hermes
|
||||||
WORKDIR /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 -B build
|
||||||
RUN cmake --build build
|
RUN cmake --build build
|
||||||
RUN mkdir /hermes-installation
|
RUN mkdir /hermes-installation
|
||||||
RUN cmake --install build --prefix /hermes-installation
|
RUN cmake --install build --prefix /hermes-installation
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.21
|
||||||
EXPOSE 25
|
EXPOSE 25
|
||||||
COPY --from=0 /hermes-installation /hermes
|
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"]
|
CMD ["/hermes/bin/hermes", "/config/hermesrc"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue