Commit 5eead109 authored by Georg Vinogradov's avatar Georg Vinogradov
Browse files

Adjust Dockerfile

parent d690ca3a
Pipeline #155371 passed with stage
in 1 minute and 13 seconds
FROM ubuntu:latest
RUN apt-get update
RUN apt-get -y install software-properties-common
RUN apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
RUN add-apt-repository ppa:webupd8team/java
RUN apt-get update
RUN apt-get -y install mosquitto
RUN apt-get -y install mosquitto-clients
RUN apt-get -y install openjdk-8-jdk
RUN apt-get update && apt-get -y install \
mosquitto \
mosquitto-clients \
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
RUN apt -y install maven
RUN apt-get -y install build-essential
RUN apt-get -y install cmake
RUN apt-get -y install git
RUN apt -y install \
maven \
build-essential \
cmake \
RUN git clone ; cd paho.mqtt.c ; git checkout v1.2.1 ; cmake -Bbuild -H. -DPAHO_WITH_SSL=OFF ; cmake --build build/ --target install ; ldconfig
RUN git clone ; cd paho.mqtt.cpp ; cmake -Bbuild -H. -DPAHO_WITH_SSL=OFF ; cmake --build build/ --target install
RUN rm -rf paho.mqtt.c paho.mqtt.cpp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment