Debian Codegraph @

docker/mqtt-composer/create_docker_compose.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 #
3 # SPDX-License-Identifier: BSD-2-Clause
4 #
5 # Copyright (C) 2024 Intel Corporation
6 # Author Walfred Tedeschi <[email protected]>
7 #
8
9 gitscip-shell system . . git. clone https://github.com/Miceuz/docker-compose-mosquitto-influxdb-telegraf-grafana
10 pushd ./docker-compose-mosquitto-influxdb-telegraf-grafana
11 gitscip-shell system . . git. checkout 1f873f2
12 cpscip-shell system . . cp. docker-compose.yml docker-compose.yml.original
13 cpscip-shell system . . cp. ../docker_composer.diff .
14 patchscip-shell system . . patch. docker-compose.yml <docker_composer.diff
15 current_user_id=$(idscip-shell system . . id. -u)
16 sedscip-shell system . . sed. -i -e 's/user\:.*/user: "'${current_user_id}'"/g' docker-compose.yml
17 mvscip-shell system . . mv. docker-compose.yml ../.
18 popd
19 rmscip-shell system . . rm. -rf docker-compose-mosquitto-influxdb-telegraf-grafana