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.

16 lines
243 B

3 years ago
#!/bin/sh
BASEDIR=$(dirname $0)
cpwd=$PWD
echo $BASEDIR
cd $BASEDIR
gem install fluent-plugin-mongo \
gem sources --clear-all \
rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem
cp fluent.conf /fluentd/etc/
cp entrypoint.sh /bin/