dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
532 B
19 lines
532 B
#
|
|
# SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
FROM ${docker.base.image}
|
|
|
|
COPY start-tb-monitoring.sh ${pkg.name}.deb /tmp/
|
|
|
|
RUN chmod a+x /tmp/*.sh \
|
|
&& mv /tmp/start-tb-monitoring.sh /usr/bin && \
|
|
(yes | dpkg -i /tmp/${pkg.name}.deb) && \
|
|
rm /tmp/${pkg.name}.deb && \
|
|
(systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :) && \
|
|
chmod 555 ${pkg.installFolder}/bin/${pkg.name}.jar
|
|
|
|
USER ${pkg.user}
|
|
|
|
CMD ["start-tb-monitoring.sh"]
|
|
|