Skip to content

Commit d34b3b6

Browse files
authored
Add newer cmake for builds&broker for testing (#48)
1 parent 1d58821 commit d34b3b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker_linux/Dockerfile.centos7

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ ENV BUILD_HOME /source/paho.mqtt.c
2424
COPY mqtt_build.sh /source
2525
RUN /source/mqtt_build.sh
2626

27+
RUN cd /tmp/ && wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz && tar zxvf cmake-3.* && cd cmake-3.* && ./bootstrap --prefix=/usr/local && make && make install && rm /tmp/cmake-3.12.3.tar.gz
28+
RUN yum -y install epel-release && yum -y install mosquitto
29+
2730
WORKDIR /source
2831

2932
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)