Sha256: cd80c5fc95c74d885c8b7ccfebb1b66d01713b1dff89048692c56a14c4605ee7
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
FROM ruby:latest WORKDIR /plugin ADD . /plugin RUN gem install bundler && \ gem install fluentd --no-doc && \ fluent-gem build fluent-plugin-azure-storage-append-blob.gemspec && \ fluent-gem install fluent-plugin-azure-storage-append-blob-*.gem RUN echo "<source>\n\ @type sample\n\ sample {\"hello\":\"world\"}\n\ tag pattern\n\ </source>\n\ <match pattern>\n\ @type azure-storage-append-blob\n\ azure_storage_account \"#{ENV['STORAGE_ACCOUNT']}\"\n\ azure_storage_access_key \"#{ENV['STORAGE_ACCESS_KEY']}\"\n\ azure_storage_sas_token \"#{ENV['STORAGE_SAS_TOKEN']}\"\n\ azure_container fluentd\n\ auto_create_container true\n\ path logs/\n\ azure_object_key_format %{path}%{time_slice}_%{index}.log\n\ time_slice_format %Y%m%d-%H\n\ <buffer tag,time>\n\ @type file\n\ path /var/log/fluent/azurestorageappendblob\n\ timekey 120 # 2 minutes\n\ timekey_wait 60\n\ timekey_use_utc true # use utc\n\ </buffer>\n\ </match>" > /plugin/fluent.conf ENTRYPOINT ["fluentd", "-c", "fluent.conf"]
Version data entries
4 entries across 4 versions & 2 rubygems