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