Compare commits
No commits in common. "master" and "1.1.1" have entirely different histories.
25
Dockerfile
25
Dockerfile
@ -6,31 +6,10 @@ LABEL AlternativeImageName="wollud1969/build-env-c"
|
|||||||
|
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt update && \
|
apt-get update && \
|
||||||
apt install -y gcc g++ libcunit1 libcunit1-dev && \
|
apt-get install -y gcc g++ libcunit1 libcunit1-dev && \
|
||||||
apt install -y libcurl4-gnutls-dev && \
|
|
||||||
apt install -y libmariadbclient-dev && \
|
|
||||||
apt install -y libconfig-dev && \
|
|
||||||
apt install -y libcunit1-dev && \
|
|
||||||
apt install -y libssl-dev && \
|
|
||||||
apt install -y valgrind && \
|
|
||||||
mkdir /work && \
|
|
||||||
useradd -d /work -u 1000 user && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN \
|
|
||||||
cd / tmp && \
|
|
||||||
git clone https://github.com/eclipse/paho.mqtt.c.git && \
|
|
||||||
cd paho.mqtt.c && \
|
|
||||||
make && \
|
|
||||||
make install
|
|
||||||
|
|
||||||
VOLUME /work
|
|
||||||
WORKDIR /work
|
|
||||||
|
|
||||||
USER 1000:1000
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user