-
Notifications
You must be signed in to change notification settings - Fork 13
Non-fips Dockerfile.Signed-off-by: Abhay Sharma <[email protected]> #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
199262d
783ef53
9ffb6df
f60a1b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,36 @@ | ||
| FROM ruby:2.5 | ||
| MAINTAINER [email protected] | ||
|
|
||
| RUN apt-get update && apt-get install -y \ | ||
| build-essential \ | ||
| nodejs | ||
|
|
||
| RUN mkdir -p /app | ||
|
|
||
| COPY ./ /app/ | ||
| WORKDIR /app | ||
| FROM photon:3.0-20200424 | ||
| USER root | ||
|
||
| RUN tdnf distro-sync --refresh -y \ | ||
| && tdnf install -y \ | ||
| rubygem-fluentd-1.6.3 \ | ||
| # Transitive dependencies of fluent-plugin-kubernetes_metadata_filter-2.2.0 | ||
| # that are not automatically picked for some reason | ||
| rubygem-concurrent-ruby-1.0.5 \ | ||
| rubygem-i18n-1.1.0 \ | ||
| # | ||
| # Optional but used by fluentd | ||
| rubygem-oj-3.3.10 \ | ||
| rubygem-async-http-0.48.2 \ | ||
| jemalloc-4.5.0 \ | ||
| # | ||
| # Fluentd plugins | ||
| rubygem-fluent-plugin-systemd-1.0.1 \ | ||
| rubygem-fluent-plugin-concat-2.4.0 \ | ||
| rubygem-fluent-plugin-kubernetes_metadata_filter-2.2.0 \ | ||
| rubygem-fluent-plugin-remote_syslog-1.0.0 | ||
| RUN gem install fluent-plugin-docker_metadata_filter -v 0.1.3 | ||
| RUN gem install fluent-plugin-detect-exceptions | ||
| RUN gem install fluent-plugin-multi-format-parser | ||
| RUN ln -s /usr/lib/ruby/gems/2.5.0/bin/fluentd /usr/bin/fluentd \ | ||
| && mkdir -p /fluentd/etc /fluentd/plugins \ | ||
| && fluentd --setup /fluentd/etc \ | ||
| && rmdir /fluentd/etc/plugin | ||
| # Latest version of fluentd output plugins | ||
| COPY ./ /fluentd/plugins/ | ||
| WORKDIR /fluentd/plugins/ | ||
| RUN gem build fluent-plugin-vmware-log-intelligence.gemspec | ||
|
|
||
| RUN gem install bundler && bundle install --jobs 20 --retry 5 | ||
| RUN gem install fluent-plugin-vmware-log-intelligence | ||
| RUN gem list | ||
|
|
||
| ENV LD_PRELOAD="/usr/lib/libjemalloc.so.2" | ||
| WORKDIR / | ||
| RUN rm -rf /app | ||
| RUN rm -rf /fluentd/plugins/ | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets put this file inside new folder.
something like this nonfips/Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add fips one as well in new directory
fips/Dockerfile