Browse Source
Merge pull request #3363 from vzikratyi-tb/fix/rm-deb-files-after-install
Removed .deb files after service setup in Docker
pull/3370/head
Igor Kulikov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with
9 additions and
0 deletions
-
msa/js-executor/docker/Dockerfile
-
msa/tb-node/docker/Dockerfile
-
msa/tb/docker-cassandra/Dockerfile
-
msa/tb/docker-postgres/Dockerfile
-
msa/tb/docker-tb/Dockerfile
-
msa/transport/coap/docker/Dockerfile
-
msa/transport/http/docker/Dockerfile
-
msa/transport/mqtt/docker/Dockerfile
-
msa/web-ui/docker/Dockerfile
|
|
|
@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/start-js-executor.sh /usr/bin |
|
|
|
|
|
|
|
RUN yes | dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/start-tb-node.sh /usr/bin |
|
|
|
|
|
|
|
RUN yes | dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -39,6 +39,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/stop-db.sh /usr/bin |
|
|
|
|
|
|
|
RUN dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -35,6 +35,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/stop-db.sh /usr/bin |
|
|
|
|
|
|
|
RUN dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -26,6 +26,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/stop-db.sh /usr/bin |
|
|
|
|
|
|
|
RUN dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/start-tb-coap-transport.sh /usr/bin |
|
|
|
|
|
|
|
RUN yes | dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/start-tb-http-transport.sh /usr/bin |
|
|
|
|
|
|
|
RUN yes | dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/start-tb-mqtt-transport.sh /usr/bin |
|
|
|
|
|
|
|
RUN yes | dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ RUN chmod a+x /tmp/*.sh \ |
|
|
|
&& mv /tmp/start-web-ui.sh /usr/bin |
|
|
|
|
|
|
|
RUN yes | dpkg -i /tmp/${pkg.name}.deb |
|
|
|
RUN rm /tmp/${pkg.name}.deb |
|
|
|
|
|
|
|
RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : |
|
|
|
|
|
|
|
|