├── .editorconfig
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.yml
│ ├── config.yml
│ └── feature_request.yml
└── workflows
│ ├── docker-build.yml
│ ├── linux.yml
│ ├── stale-actions.yml
│ └── windows.yml
├── .gitignore
├── DEPRECATED.md
├── Dockerfile.sample
├── Dockerfile.sample.old
├── Dockerfile.template.erb
├── HOWTOBUILD.md
├── LICENSE
├── MAINTAINING.md
├── Makefile
├── README.md
├── SECURITY.md
├── entrypoint.sh.erb
├── fluent.conf.erb
├── post_checkout.erb
├── post_push.erb
├── test
└── suite.bats
├── v0.12
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v0.14
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.0
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.1
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.10
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.11
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.12
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-2004
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-20H2
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.13
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-2004
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-20H2
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.14
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-20H2
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows-ltsc2022
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.15
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-20H2
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows-ltsc2022
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.16
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows-ltsc2022
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.17
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows-ltsc2022
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.18
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ └── fluent.conf
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ └── fluent.conf
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ └── fluent.conf
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ └── fluent.conf
├── windows-ltsc2019
│ ├── Dockerfile
│ ├── entrypoint.sh
│ └── fluent.conf
└── windows-ltsc2022
│ ├── Dockerfile
│ ├── entrypoint.sh
│ └── fluent.conf
├── v1.2
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── armhf
│ ├── alpine-onbuild
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ │ ├── post_checkout
│ │ │ └── post_push
│ ├── alpine
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ │ ├── post_checkout
│ │ │ └── post_push
│ ├── debian-onbuild
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ │ ├── post_checkout
│ │ │ └── post_push
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.3
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── armhf
│ ├── debian-onbuild
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ │ ├── post_checkout
│ │ │ └── post_push
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.4
├── alpine-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── armhf
│ ├── debian-onbuild
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ │ ├── post_checkout
│ │ │ └── post_push
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian-onbuild
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.5
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.6
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.7
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
├── v1.8
├── alpine
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
├── arm64
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── armhf
│ └── debian
│ │ ├── Dockerfile
│ │ ├── entrypoint.sh
│ │ ├── fluent.conf
│ │ └── hooks
│ │ ├── post_checkout
│ │ └── post_push
├── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ │ └── post_push
└── windows
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ └── post_push
└── v1.9
├── alpine
├── Dockerfile
├── entrypoint.sh
├── fluent.conf
└── hooks
│ └── post_push
├── arm64
└── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ ├── post_checkout
│ └── post_push
├── armhf
└── debian
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── fluent.conf
│ └── hooks
│ ├── post_checkout
│ └── post_push
├── debian
├── Dockerfile
├── entrypoint.sh
├── fluent.conf
└── hooks
│ └── post_push
└── windows
├── Dockerfile
├── entrypoint.sh
├── fluent.conf
└── hooks
└── post_push
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | trim_trailing_whitespace = true
7 | insert_final_newline = true
8 | max_line_length = 80
9 |
10 | [*.md]
11 | indent_style = space
12 | indent_size = 4
13 | trim_trailing_whitespace = false
14 |
15 | [Makefile]
16 | indent_style = tab
17 | indent_size = 4
18 |
19 | [{Dockerfile,Dockerfile.template.erb,Dockerfile.sample}]
20 | indent_style = space
21 | indent_size = 4
22 |
23 | [{fluent.conf,fluent.conf.erb}]
24 | indent_style = space
25 | indent_size = 2
26 |
27 | [{*.bats,post_push,post_push.erb}]
28 | indent_style = space
29 | indent_size = 2
30 |
31 | [*.{yml,yaml}]
32 | indent_style = space
33 | indent_size = 2
34 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: false
2 | contact_links:
3 | - name: Ask a Question
4 | url: https://github.com/fluent/fluentd/discussions
5 | about: I have questions about Fluentd and plugins. Please ask and answer questions at https://github.com/fluent/fluentd/discussions
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /.idea
2 |
3 | /test/bats
4 |
--------------------------------------------------------------------------------
/Dockerfile.sample:
--------------------------------------------------------------------------------
1 | FROM fluent/fluentd:v1.10-1
2 | MAINTAINER YOUR_NAME <...@...>
3 |
4 | USER root
5 |
6 | RUN apk add --no-cache --update --virtual .build-deps \
7 | sudo build-base ruby-dev \
8 | # customize following instruction as you wish
9 | && sudo gem install fluent-plugin-elasticsearch \
10 | && sudo gem sources --clear-all \
11 | && apk del .build-deps \
12 | && rm -rf /home/fluent/.gem/ruby/2.5.0/cache/*.gem
13 |
14 | COPY fluent.conf /fluentd/etc/
15 | COPY entrypoint.sh /bin/
16 |
17 | USER fluent
18 |
--------------------------------------------------------------------------------
/Dockerfile.sample.old:
--------------------------------------------------------------------------------
1 | FROM fluent/fluentd:v0.12-onbuild
2 | MAINTAINER YOUR_NAME <...@...>
3 |
4 | USER root
5 |
6 | RUN apk add --no-cache --update --virtual .build-deps \
7 | sudo build-base ruby-dev \
8 |
9 | # cutomize following instruction as you wish
10 | && sudo -u fluent gem install \
11 | fluent-plugin-secure-forward \
12 |
13 | && sudo -u fluent gem sources --clear-all \
14 | && apk del .build-deps \
15 | && rm -rf /home/fluent/.gem/ruby/2.3.0/cache/*.gem
16 |
17 | USER fluent
18 |
19 | EXPOSE 24284
20 |
--------------------------------------------------------------------------------
/entrypoint.sh.erb:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/fluent.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v0.12/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v0.12/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.12.43-onbuild-2.0,v0.12-onbuild-2}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.12/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v0.12/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v0.12/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.12.43-2.0,v0.12-2}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.12/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v0.12/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.12.43-debian-onbuild-2.0,v0.12-debian-onbuild-2}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.12/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v0.12/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v0.12/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.12.43-debian-2.0,v0.12-debian-2}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.14/alpine-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v0.14.25
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v0.14/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v0.14/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.14.25-onbuild,v0.14-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.14/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v0.14/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v0.14/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.14.25,v0.14}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.14/debian-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v0.14.25-debian
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v0.14/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec gosu fluent "$@"
20 |
--------------------------------------------------------------------------------
/v0.14/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.14.25-debian-onbuild,v0.14-debian-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v0.14/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec gosu fluent "$@"
20 |
--------------------------------------------------------------------------------
/v0.14/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v0.14/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v0.14.25-debian,v0.14-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.0/alpine-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.0.2
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.0/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.0/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.0.2-onbuild,v1.0-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.0/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.0/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.0/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.0.2,v1.0}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.0/debian-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.0.2-debian
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.0/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec gosu fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.0/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.0.2-debian-onbuild,v1.0-debian-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.0/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec gosu fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.0/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.0/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.0.2-debian,v1.0-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.1/alpine-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.1.3
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.1/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.1/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.1.3-onbuild,v1.1-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.1/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.1/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.1/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.1.3,v1.1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.1/debian-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.1.3-debian
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.1/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec gosu fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.1/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.1.3-debian-onbuild,v1.1-debian-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.1/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec gosu fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.1/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.1/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.1.3-debian,v1.1-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.10/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.10/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.10/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.10.4-1.0,v1.10-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.10/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.10/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.10/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.10.4-debian-arm64-1.0,v1.10-debian-arm64-1,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.10/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.10/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.10/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.10.4-debian-armhf-1.0,v1.10-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.10/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.10/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.10/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.10.4-debian-1.0,v1.10-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.10/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.10/windows/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.10/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.10.4-windows-1.0,v1.10-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.11/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.11/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.11/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.11.5-1.0,v1.11-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.11/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.11/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.11/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.11.5-debian-arm64-1.0,v1.11-debian-arm64-1,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.11/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.11/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.11/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.11.5-debian-armhf-1.0,v1.11-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.11/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.11/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.11/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.11.5-debian-1.0,v1.11-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.11/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.11/windows/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.11/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.11.5-windows-1.0,v1.11-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.12/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-1.3,v1.12-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.12/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-debian-arm64-1.2,v1.12-debian-arm64-2,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.12/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-debian-armhf-1.2,v1.12-debian-armhf-2,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.12/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-debian-1.2,v1.12-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/windows-2004/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/windows-2004/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-windows-2004-1.0,v1.12-windows-2004-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/windows-20H2/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/windows-20H2/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-windows-20H2-1.0,v1.12-windows-20H2-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.12/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.12/windows-ltsc2019/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.12.4-windows-ltsc2019-1.0,v1.12-windows-ltsc2019-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.13/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-1.1,v1.13-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.13/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-debian-arm64-1.0,v1.13-debian-arm64-1,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.13/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-debian-armhf-1.0,v1.13-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.13/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-debian-1.0,v1.13-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/windows-2004/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/windows-2004/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-windows-2004-1.0,v1.13-windows-2004-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/windows-20H2/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/windows-20H2/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-windows-20H2-1.0,v1.13-windows-20H2-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.13/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.13/windows-ltsc2019/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.13.3-windows-ltsc2019-1.0,v1.13-windows-ltsc2019-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.14/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-1.2,v1.14-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.14/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-debian-arm64-1.1,v1.14-debian-arm64-1,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.14/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-debian-armhf-1.1,v1.14-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.14/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-debian-1.1,v1.14-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/windows-20H2/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/windows-20H2/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-windows-20H2-1.1,v1.14-windows-20H2-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/windows-ltsc2019/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-windows-ltsc2019-1.1,v1.14-windows-ltsc2019-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.14/windows-ltsc2022/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.14/windows-ltsc2022/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.14.6-windows-ltsc2022-1.1,v1.14-windows-ltsc2022-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.15/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.15/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.15.3-1.2,v1.15-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.15/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.15/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.15/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.15.3-debian-armhf-1.2,v1.15-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.15/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.15/windows-20H2/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/windows-20H2/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.15.2-windows-20H2-1.0,v1.15-windows-20H2-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.15/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/windows-ltsc2019/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.15.3-windows-ltsc2019-1.2,v1.15-windows-ltsc2019-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.15/windows-ltsc2022/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.15/windows-ltsc2022/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.15.3-windows-ltsc2022-1.2,v1.15-windows-ltsc2022-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.16/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.16/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.16/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.16.5-1.0,v1.16-2,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.16/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.16/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.16/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.16/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.16/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.16.5-debian-armhf-1.0,v1.16-debian-armhf-2,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.16/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.16/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.16/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.16/windows-ltsc2019/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.16.5-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.16/windows-ltsc2022/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.16/windows-ltsc2022/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.16.5-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.17/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.17/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.17/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.17.1-1.2,v1.17-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.17/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.17/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.17/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.17/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.17/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.17.1-debian-armhf-1.2,v1.17-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.17/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.17/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.17/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.17/windows-ltsc2019/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.17.1-windows-ltsc2019-1.1,v1.17-windows-ltsc2019-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.17/windows-ltsc2022/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.17/windows-ltsc2022/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.17.1-windows-ltsc2022-1.1,v1.17-windows-ltsc2022-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 |
16 | done
17 |
--------------------------------------------------------------------------------
/v1.18/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.18/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.18/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.18/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.18/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.18/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.18/windows-ltsc2019/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.18/windows-ltsc2022/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then
20 | set -- "$@" --config /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then
24 | set -- "$@" --plugin /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.2/alpine-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.2.6
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.2/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | if [ -r $DEFAULT ]; then
4 | set -o allexport
5 | source $DEFAULT
6 | set +o allexport
7 | fi
8 |
9 | # If the user has supplied only arguments append them to `fluentd` command
10 | if [ "${1#-}" != "$1" ]; then
11 | set -- fluentd "$@"
12 | fi
13 |
14 | # If user does not supply config file or plugins, use the default
15 | if [ "$1" = "fluentd" ]; then
16 | if ! echo $@ | grep ' \-c' ; then
17 | set -- "$@" -c /fluentd/etc/fluent.conf
18 | fi
19 |
20 | if ! echo $@ | grep ' \-p' ; then
21 | set -- "$@" -p /fluentd/plugins
22 | fi
23 | fi
24 |
25 | exec su-exec fluent "$@"
26 |
--------------------------------------------------------------------------------
/v1.2/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6-onbuild,v1.2-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec su-exec fluent "$@"
29 |
--------------------------------------------------------------------------------
/v1.2/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.2/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6,v1.2}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/armhf/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.2/armhf/alpine-onbuild/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.2/armhf/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.3-armhf-onbuild,v1.2-armhf-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/armhf/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | # If the user has supplied only arguments append them to `fluentd` command
4 | if [ "${1#-}" != "$1" ]; then
5 | set -- fluentd "$@"
6 | fi
7 |
8 | # If user does not supply config file or plugins, use the default
9 | if [ "$1" = "fluentd" ]; then
10 | if ! echo $@ | grep ' \-c' ; then
11 | set -- "$@" -c /fluentd/etc/fluent.conf
12 | fi
13 |
14 | if ! echo $@ | grep ' \-p' ; then
15 | set -- "$@" -p /fluentd/plugins
16 | fi
17 | fi
18 |
19 | exec su-exec fluent "$@"
20 |
--------------------------------------------------------------------------------
/v1.2/armhf/alpine/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.2/armhf/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.3-armhf,v1.2-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.2.6-debian-armhf
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | exec gosu fluent "$@"
13 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian-onbuild/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6-debian-armhf-onbuild,v1.2-debian-armhf-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec gosu fluent "$@"
29 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.2/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6-debian-armhf,v1.2-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/debian-onbuild/Dockerfile:
--------------------------------------------------------------------------------
1 | # AUTOMATICALLY GENERATED
2 | # DO NOT EDIT THIS FILE DIRECTLY, USE /Dockerfile.template.erb
3 |
4 | FROM fluent/fluentd:v1.2.6-debian
5 |
6 | ONBUILD COPY fluent.conf /fluentd/etc/
7 | ONBUILD COPY plugins /fluentd/plugins/
8 |
--------------------------------------------------------------------------------
/v1.2/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec gosu fluent "$@"
29 |
--------------------------------------------------------------------------------
/v1.2/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6-debian-onbuild,v1.2-debian-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec gosu fluent "$@"
29 |
--------------------------------------------------------------------------------
/v1.2/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.2/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6-debian,v1.2-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.2/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/dumb-init /bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec gosu fluent "$@"
29 |
--------------------------------------------------------------------------------
/v1.2/windows/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.2/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.2.6-windows,stable-windows,windows}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-onbuild-1.0,v1.3-onbuild-1,stable-onbuild,onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.3/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-1.0,v1.3-1,stable,latest}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/armhf/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/armhf/debian-onbuild/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.3/armhf/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-debian-armhf-onbuild-1.0,v1.3-debian-armhf-onbuild-1,stable-debian-armhf-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.3/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-debian-armhf-1.0,v1.3-debian-armhf-1,stable-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-debian-onbuild-1.0,v1.3-debian-onbuild-1,stable-debian-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.3/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-debian-1.0,v1.3-debian-1,stable-debian,debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.3/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | source $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/fluent.conf
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.3/windows/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.3/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.3.3-windows-1.0,v1.3-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/alpine-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/alpine-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-onbuild-2.0,v1.4-onbuild-2,edge-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.4/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-2.0,v1.4-2,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/armhf/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/armhf/debian-onbuild/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.4/armhf/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-debian-armhf-onbuild-2.0,v1.4-debian-armhf-onbuild-2,edge-debian-armhf-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.4/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-debian-armhf-2.0,v1.4-debian-armhf-2,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/debian-onbuild/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/debian-onbuild/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-debian-onbuild-2.0,v1.4-debian-onbuild-2,edge-debian-onbuild}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.4/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-debian-2.0,v1.4-debian-2,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.4/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.4/windows/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.4/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.4.2-windows-2.0,v1.4-windows-2}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.5/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.5/alpine/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.5/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.5.2-1.0,v1.5-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.5/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.5/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.5/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.5.2-debian-armhf-1.0,v1.5-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.5/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.5/debian/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @mainstream
5 | port 24224
6 |
7 |
8 |
9 | @type stdout
10 |
11 |
12 |
34 |
--------------------------------------------------------------------------------
/v1.5/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.5.2-debian-1.0,v1.5-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.5/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.5/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.5.2-windows-1.0,v1.5-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.6/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.6/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.6.3-1.0,v1.6-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.6/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.6/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.6/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.6.3-debian-armhf-1.1,v1.6-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.6/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.6/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.6.3-debian-1.1,v1.6-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.6/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.6/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.6.3-windows-1.0,v1.6-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.7/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.7/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.7.4-1.0,v1.7-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.7/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.7/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # AUTOMATICALLY GENERATED
4 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
5 |
6 | set -e
7 |
8 | HOST_ARCH=$(uname -m)
9 |
10 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
11 | echo "Building armhf image natively"
12 | exit
13 | fi
14 |
15 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
16 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
17 |
18 |
--------------------------------------------------------------------------------
/v1.7/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.7.4-debian-armhf-2.0,v1.7-debian-armhf-2,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.7/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.7/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.7.4-debian-2.0,v1.7-debian-2,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.7/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.7/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.7.4-windows-1.0,v1.7-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.8/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.8/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.8.1-1.1,v1.8-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.8/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.8/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.8/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.8.1-debian-arm64-1.0,v1.8-debian-arm64-1,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.8/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.8/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.8/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.8.1-debian-armhf-1.0,v1.8-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.8/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.8/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.8.1-debian-1.0,v1.8-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.8/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.8/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.8.1-windows-1.0,v1.8-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.9/alpine/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.9/alpine/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.9.3-1.0,v1.9-1,edge}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.9/arm64/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.9/arm64/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 |
8 | set -e
9 |
10 | HOST_ARCH=$(uname -m)
11 |
12 | if [ x"${HOST_ARCH}" == x"aarch64" ]; then
13 | echo "Building arm64 image natively"
14 | exit
15 | fi
16 |
17 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
18 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
19 |
20 |
--------------------------------------------------------------------------------
/v1.9/arm64/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.9.3-debian-arm64-1.0,v1.9-debian-arm64-1,edge-debian-arm64}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.9/armhf/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.9/armhf/debian/hooks/post_checkout:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 |
4 | # AUTOMATICALLY GENERATED
5 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_checkout.erb
6 |
7 | set -e
8 |
9 | HOST_ARCH=$(uname -m)
10 |
11 | if [ x"${HOST_ARCH}" == x"arm*" ]; then
12 | echo "Building armhf image natively"
13 | exit
14 | fi
15 |
16 | # Enable cross-platform builds https://github.com/multiarch/qemu-user-static
17 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
18 |
19 |
20 |
--------------------------------------------------------------------------------
/v1.9/armhf/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.9.3-debian-armhf-1.0,v1.9-debian-armhf-1,edge-debian-armhf}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.9/debian/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.9/debian/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.9.3-debian-1.0,v1.9-debian-1,edge-debian}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------
/v1.9/windows/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #source vars if file exists
4 | DEFAULT=/etc/default/fluentd
5 |
6 | if [ -r $DEFAULT ]; then
7 | set -o allexport
8 | . $DEFAULT
9 | set +o allexport
10 | fi
11 |
12 | # If the user has supplied only arguments append them to `fluentd` command
13 | if [ "${1#-}" != "$1" ]; then
14 | set -- fluentd "$@"
15 | fi
16 |
17 | # If user does not supply config file or plugins, use the default
18 | if [ "$1" = "fluentd" ]; then
19 | if ! echo $@ | grep ' \-c' ; then
20 | set -- "$@" -c /fluentd/etc/${FLUENTD_CONF}
21 | fi
22 |
23 | if ! echo $@ | grep ' \-p' ; then
24 | set -- "$@" -p /fluentd/plugins
25 | fi
26 | fi
27 |
28 | exec "$@"
29 |
--------------------------------------------------------------------------------
/v1.9/windows/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # AUTOMATICALLY GENERATED
3 | # DO NOT EDIT THIS FILE DIRECTLY, USE /post_push.erb
4 |
5 | set -e
6 |
7 | # Parse image name for repo name
8 | tagStart=$(expr index "$IMAGE_NAME" :)
9 | repoName=${IMAGE_NAME:0:tagStart-1}
10 |
11 | # Tag and push image for each additional tag
12 | for tag in {v1.9.3-windows-1.0,v1.9-windows-1}; do
13 | docker tag $IMAGE_NAME ${repoName}:${tag}
14 | docker push ${repoName}:${tag}
15 | done
16 |
--------------------------------------------------------------------------------