Skip to content

Commit

Permalink
Merge pull request hopsoft#58 from graphite-project/DZ-statd-fix
Browse files Browse the repository at this point in the history
Fixing statsd issue
  • Loading branch information
deniszh authored Oct 28, 2018
2 parents 5228e94 + 6cbdb68 commit e3fce96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ RUN if [ ! -z "${CONTAINER_TIMEZONE}" ]; \
RUN apt-get update --fix-missing \
&& apt-get -y upgrade \
&& apt-get install --yes --no-install-recommends \
git \
nginx \
python-flup \
python-pip \
Expand Down
4 changes: 0 additions & 4 deletions conf/etc/my_init.d/01_conf_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ fi
# - /opt/statsd
statsd_dir_contents=$(find /opt/statsd -mindepth 1 -print -quit)
if [[ -z $statsd_dir_contents ]]; then
apt-get install git && \
cd /opt && \
wget https://nodejs.org/download/release/v6.14.4/node-v6.14.4-linux-x64.tar.gz && \
tar -xvpzf node-v6.14.4-linux-x64.tar.gz && rm node-v6.14.4-linux-x64.tar.gz && mv node-v6.14.4-linux-x64 nodejs && \
git clone -b v0.8.0 https://github.com/etsy/statsd.git /opt/statsd && \
cp $conf_dir/opt/statsd/config_*.js /opt/statsd/
fi
Expand Down

0 comments on commit e3fce96

Please sign in to comment.