docker – Blame information for rev 21
?pathlinks?
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 | coreutils \ |
||
14 | bash \ |
||
15 | unzip \ |
||
16 | libgssapi-krb5-2 \ |
||
17 | libssl1.1 \ |
||
19 | office | 18 | libicu67 \ |
19 | curl |
||
7 | office | 20 | |
21 | # retrieve latest Corrade |
||
13 | office | 22 | WORKDIR /tmp |
21 | office | 23 | RUN curl -fsSSL https://corrade.grimore.org/download/corrade/linux-x64/LATEST.zip -o /tmp/Corrade.zip && \ |
13 | office | 24 | unzip /tmp/Corrade.zip -d /corrade |
7 | office | 25 | |
26 | # open port declaration, in order: Nucleus, HTTP, MQTT, TCP, UDP and WebSockets |
||
27 | EXPOSE 54377 8080 1883 8085 8086 8088 |
||
28 | |||
29 | # add filesystem requirements |
||
30 | ADD rootfs / |
||
31 | |||
32 | # execute the bootstrapper that will start Corrade |
||
20 | office | 33 | ENTRYPOINT ["bash", "/usr/local/bin/run"] |