Add missing build dependencies for agent in docker
Change-Id: I19e4f0133bdce9eb9065503ef8781e2ec1ac1c37
This commit is contained in:
parent
ae2bd9d740
commit
82fcfd3b18
@ -76,8 +76,18 @@ ONBUILD RUN \
|
||||
git \
|
||||
libffi-dev \
|
||||
libressl-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
linux-headers \
|
||||
make && \
|
||||
# We need librdkafka at last v0.11.5 so take it from edge.
|
||||
# It will be default in Apline 3.9.
|
||||
apk add --no-cache --virtual .build-librdkafka \
|
||||
libressl2.7-libcrypto \
|
||||
librdkafka-dev \
|
||||
libressl2.7-libssl \
|
||||
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \
|
||||
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/community && \
|
||||
# Clone repository and checkout requested version.
|
||||
# This many steps are needed to support gerrit patch sets.
|
||||
mkdir -p /app && \
|
||||
@ -135,7 +145,7 @@ ONBUILD RUN \
|
||||
printf "Constraints file: %s\\n" \
|
||||
"$CONSTRAINTS_FILE"?h="$CONSTRAINTS_BRANCH" >> /VERSIONS && \
|
||||
# Clean after instalation.
|
||||
apk del .build-deps && \
|
||||
apk del .build-deps .build-librdkafka && \
|
||||
rm -rf \
|
||||
/app \
|
||||
/root/.cache/ \
|
||||
|
Loading…
x
Reference in New Issue
Block a user