Skip to content

Commit c73af31

Browse files
committedJul 12, 2023
use busybox as base image
1 parent dfe4b3b commit c73af31

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed
 

‎Dockerfile

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
FROM scratch
1+
FROM busybox
22

3-
COPY mqtt-mirror /
4-
5-
ENV SOURCE ""
6-
ENV TARGET ""
7-
ENV TOPIC_FILTER "#"
8-
9-
CMD /mqtt-mirror $SOURCE $TARGET --verbose --topic_filter $TOPIC_FILTER
3+
COPY mqtt-mirror /bin/mqtt-mirror
4+
RUN chmod +x /bin/mqtt-mirror
5+
ENTRYPOINT ["/bin/mqtt-mirror" ]

0 commit comments

Comments
 (0)
Please sign in to comment.