Commit 5d1992c9478786bc28ed486c7bf559f5fd47e28f

Authored by Igor Kulikov
Committed by GitHub
2 parents fea2a8fd e05f2121

Merge pull request #3363 from vzikratyi-tb/fix/rm-deb-files-after-install

Removed .deb files after service setup in Docker
... ... @@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \
22 22 && mv /tmp/start-js-executor.sh /usr/bin
23 23
24 24 RUN yes | dpkg -i /tmp/${pkg.name}.deb
  25 +RUN rm /tmp/${pkg.name}.deb
25 26
26 27 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
27 28
... ...
... ... @@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \
22 22 && mv /tmp/start-tb-node.sh /usr/bin
23 23
24 24 RUN yes | dpkg -i /tmp/${pkg.name}.deb
  25 +RUN rm /tmp/${pkg.name}.deb
25 26
26 27 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
27 28
... ...
... ... @@ -39,6 +39,7 @@ RUN chmod a+x /tmp/*.sh \
39 39 && mv /tmp/stop-db.sh /usr/bin
40 40
41 41 RUN dpkg -i /tmp/${pkg.name}.deb
  42 +RUN rm /tmp/${pkg.name}.deb
42 43
43 44 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
44 45
... ...
... ... @@ -35,6 +35,7 @@ RUN chmod a+x /tmp/*.sh \
35 35 && mv /tmp/stop-db.sh /usr/bin
36 36
37 37 RUN dpkg -i /tmp/${pkg.name}.deb
  38 +RUN rm /tmp/${pkg.name}.deb
38 39
39 40 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
40 41
... ...
... ... @@ -26,6 +26,7 @@ RUN chmod a+x /tmp/*.sh \
26 26 && mv /tmp/stop-db.sh /usr/bin
27 27
28 28 RUN dpkg -i /tmp/${pkg.name}.deb
  29 +RUN rm /tmp/${pkg.name}.deb
29 30
30 31 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
31 32
... ...
... ... @@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \
22 22 && mv /tmp/start-tb-coap-transport.sh /usr/bin
23 23
24 24 RUN yes | dpkg -i /tmp/${pkg.name}.deb
  25 +RUN rm /tmp/${pkg.name}.deb
25 26
26 27 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
27 28
... ...
... ... @@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \
22 22 && mv /tmp/start-tb-http-transport.sh /usr/bin
23 23
24 24 RUN yes | dpkg -i /tmp/${pkg.name}.deb
  25 +RUN rm /tmp/${pkg.name}.deb
25 26
26 27 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
27 28
... ...
... ... @@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \
22 22 && mv /tmp/start-tb-mqtt-transport.sh /usr/bin
23 23
24 24 RUN yes | dpkg -i /tmp/${pkg.name}.deb
  25 +RUN rm /tmp/${pkg.name}.deb
25 26
26 27 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
27 28
... ...
... ... @@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \
22 22 && mv /tmp/start-web-ui.sh /usr/bin
23 23
24 24 RUN yes | dpkg -i /tmp/${pkg.name}.deb
  25 +RUN rm /tmp/${pkg.name}.deb
25 26
26 27 RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
27 28
... ...