Sign in
简柏林
/
thingskit
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
e05f212142f6ad934c65fda2e3b36ef75fd3f1cf
Authored by
vzikratyi
2020-08-25 12:00:46 +0300
1 parent
fea2a8fd
Removed .deb files after service setup in Docker
Inline
Side-by-side
Showing
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
msa/js-executor/docker/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/tb-node/docker/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/tb/docker-cassandra/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/tb/docker-postgres/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/tb/docker-tb/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/transport/coap/docker/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/transport/http/docker/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/transport/mqtt/docker/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...
msa/web-ui/docker/Dockerfile
View file @
e05f212
...
...
@@ -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
...
...