Skip to content

Commit 6957480

Browse files
committed
amqp: revert rabbitmq-c to 0.13.0
1 parent 1f6296c commit 6957480

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

layers/amqp/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ RUN mkdir -p ${AMQP_BUILD_DIR}
99

1010
# Compile rabbitmq
1111
WORKDIR ${AMQP_BUILD_DIR}
12-
RUN curl -Ls -o rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/refs/tags/v0.15.0.tar.gz
12+
# Currently it is not possible to use newer rabbitmq-c version than 0.13.0 because this is
13+
# last version which supports CMake 3.17 which is latest available version in Amazon Linux 2.
14+
RUN curl -Ls -o rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/refs/tags/v0.13.0.tar.gz
1315
RUN tar xzf rabbitmq-c.tar.gz
14-
WORKDIR ${AMQP_BUILD_DIR}/rabbitmq-c-0.15.0
16+
WORKDIR ${AMQP_BUILD_DIR}/rabbitmq-c-0.13.0
1517
RUN cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} .
1618
RUN cmake --build . --target install
1719

0 commit comments

Comments
 (0)