Add Boost development package as build dependency
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Juanjo Gutiérrez 2025-03-28 17:30:16 +01:00
parent 975c5ad5df
commit d3f59c0fb3
No known key found for this signature in database
GPG key ID: 2EE7726C7CA75D4E
2 changed files with 3 additions and 4 deletions

View file

@ -15,7 +15,7 @@ steps:
- name: build hermes
image: alpine
commands:
- apk add -t hermes-build-deps --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3
- 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
- cmake -B build_dir -D BUILD_DOCS=ON
- cmake --build build_dir
- name: docker image build
@ -41,7 +41,7 @@ steps:
- name: build hermes
image: alpine
commands:
- apk add -t hermes-build-deps --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3
- 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
- cmake -B build_dir
- cmake --build build_dir
- name: docker image build
@ -73,4 +73,3 @@ steps:
`${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
[${DRONE_BUILD_LINK}]

View file

@ -1,7 +1,7 @@
FROM alpine:3.18
ADD . /hermes
WORKDIR /hermes
RUN apk add --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3
RUN apk add --no-cache graphviz doxygen gcc make openssl-dev libspf2-dev cmake g++ sqlite-dev gettext-dev python3 boost-dev
RUN cmake -B build
RUN cmake --build build
RUN mkdir /hermes-installation