Skip to content

Commit

Permalink
major work in progress for idaholab#449, handle multiple netbox sites…
Browse files Browse the repository at this point in the history
…. reworked netbox lookup to be per-site for everything
  • Loading branch information
mmguero committed Jun 12, 2024
1 parent d52683f commit 3ce029a
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 219 deletions.
9 changes: 6 additions & 3 deletions Dockerfiles/logstash.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ RUN set -x && \
apt-get -y --no-install-recommends install \
curl \
gettext \
git \
patch \
python3-setuptools \
python3-pip \
Expand All @@ -55,7 +56,7 @@ RUN set -x && \
echo "gem 'concurrent-ruby'" >> /usr/share/logstash/Gemfile && \
echo "gem 'deep_merge'" >> /usr/share/logstash/Gemfile && \
echo "gem 'fuzzy-string-match'" >> /usr/share/logstash/Gemfile && \
echo "gem 'lru_redux'" >> /usr/share/logstash/Gemfile && \
echo "gem 'lru_reredux', git: 'https://github.com/mmguero-dev/lru_reredux'" >> /usr/share/logstash/Gemfile && \
echo "gem 'psych'" >> /usr/share/logstash/Gemfile && \
echo "gem 'stringex'" >> /usr/share/logstash/Gemfile && \
/usr/share/logstash/bin/ruby -S bundle install && \
Expand All @@ -65,8 +66,10 @@ RUN set -x && \
logstash-filter-kv logstash-filter-mutate logstash-filter-dissect \
logstash-filter-fingerprint logstash-filter-useragent \
logstash-input-beats logstash-output-elasticsearch logstash-output-opensearch && \
apt-get -y -q --allow-downgrades --allow-remove-essential --allow-change-held-packages autoremove && \
apt-get clean && \
apt-get -y -q --allow-downgrades --allow-remove-essential --allow-change-held-packages --purge remove \
git && \
apt-get -y -q --allow-downgrades --allow-remove-essential --allow-change-held-packages --purge autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/bin/jruby \
/root/.cache /root/.gem /root/.bundle

Expand Down
Loading

0 comments on commit 3ce029a

Please sign in to comment.