Skip to content

Commit

Permalink
Fix lcov installation (#18)
Browse files Browse the repository at this point in the history
* lcov was moved to `community` repository
* Add `edge` branch later to enforce installation of other packges from alpine 3.17

Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm authored May 16, 2024
1 parent efc043d commit 355f3a8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docker/images/build-kit/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ FROM alpine:3.17
ARG EXT_MOUNT=/ext
ARG EVEREST_CMAKE_PATH=/usr/lib/cmake/everest-cmake

# Add edge/testing repository to enable installation of lcov
RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories

RUN apk update && \
apk add --no-cache \
# basic command line tools
git \
curl \
rsync \
bash \
bash \
# build tools
samurai \
make \
Expand All @@ -31,8 +28,7 @@ RUN apk update && \
# python3 support
py3-pip \
# required for testing
gtest-dev \
lcov
gtest-dev


# additional packages
Expand Down Expand Up @@ -60,6 +56,11 @@ RUN apk add --no-cache \
# required for user and capability support in everest-framework >= 0.9.0
libcap-dev

# Add edge/testing repository to enable installation of lcov, which is not available in the main repository
RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
RUN apk update && apk add --no-cache \
lcov=2.0-r2

RUN python3 -m pip install \
environs>=9.5.0 \
pydantic==1.* \
Expand Down

0 comments on commit 355f3a8

Please sign in to comment.