docker – Blame information for rev 13

Subversion Repositories:
Rev:
Rev Author Line No. Line
7 office 1 # for libssl compatiblity required for .net 5.0
2 FROM debian:bullseye-slim
3  
4 # update package manager
5 RUN apt-get update -y && \
6 apt-get upgrade -y && \
7 apt-get dist-upgrade -y && \
8 apt-get -y autoremove && \
9 apt-get clean
10  
11 # unzip required for unpacking Corrade and all the rest are libraries
12 RUN apt-get install -y \
13 office 13 curl \
7 office 14 coreutils \
15 bash \
16 unzip \
17 libgssapi-krb5-2 \
18 libssl1.1 \
13 office 19 libicu-dev
7 office 20  
21 # retrieve latest Corrade
13 office 22 WORKDIR /tmp
23 RUN curl -fsSSL https://corrade.grimore.org/download/corrade/linux-x64/LATEST.zip?q=$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20; echo;) -o /tmp/Corrade.zip && \
24 unzip /tmp/Corrade.zip -d /corrade
8 office 25 ADD https://corrade.grimore.org/download/corrade/linux-x64/LATEST.zip /tmp/Corrade.zip
7 office 26  
27 # open port declaration, in order: Nucleus, HTTP, MQTT, TCP, UDP and WebSockets
28 EXPOSE 54377 8080 1883 8085 8086 8088
29  
30 # add filesystem requirements
31 ADD rootfs /
32  
33 # execute the bootstrapper that will start Corrade
34 RUN ["chmod", "+x", "/usr/local/bin/run"]
35 ENTRYPOINT ["/usr/local/bin/run"]
36