Removed unsed files
parent
18913252f8
commit
e2cdd6177b
|
@ -3,7 +3,6 @@ FROM golang:1-alpine as builder
|
|||
|
||||
ENV GOCARBON_VERSION=0.14.0
|
||||
ENV CARBONAPI_VERSION=0.12.6
|
||||
ENV GRAFANA_VERSION=6.4.3
|
||||
ENV GOPATH=/opt/go
|
||||
|
||||
RUN \
|
||||
|
@ -95,7 +94,7 @@ RUN \
|
|||
|
||||
WORKDIR /
|
||||
|
||||
VOLUME ["/etc/go-carbon", "/etc/carbonapi", "/var/lib/graphite", "/etc/nginx", "/etc/logrotate.d", "/var/log"]
|
||||
VOLUME ["/etc/go-carbon", "/etc/carbonapi", "/var/lib/graphite", "/etc/logrotate.d", "/var/log"]
|
||||
|
||||
ENV HOME /root
|
||||
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then
|
||||
OLDIFS=$IFS
|
||||
IFS=','
|
||||
for plugin in ${GF_INSTALL_PLUGINS}; do
|
||||
IFS=$OLDIFS
|
||||
if [[ $plugin =~ .*\;.* ]]; then
|
||||
pluginUrl=$(echo "$plugin" | cut -d';' -f 1)
|
||||
pluginWithoutUrl=$(echo "$plugin" | cut -d';' -f 2)
|
||||
/usr/bin/grafana-cli --pluginUrl "${pluginUrl}" --pluginsDir "${GF_PATHS_PLUGINS}" plugins install ${pluginWithoutUrl}
|
||||
else
|
||||
/usr/bin/grafana-cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install ${plugin}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
exec /usr/sbin/grafana-server --homepath=/usr/share/grafana/ \
|
||||
--config=/etc/grafana/grafana.ini \
|
||||
cfg:default.paths.provisioning="/etc/grafana/provisioning" \
|
||||
cfg:default.log.mode="console" >> /var/log/grafana.log 2>&1
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p /var/log/nginx
|
||||
exec /usr/sbin/nginx -c /etc/nginx/nginx.conf
|
Loading…
Reference in New Issue