Skip to content

Commit

Permalink
Add Webrick to the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Strech committed Apr 25, 2023
1 parent fb5e102 commit e118c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ LABEL maintainer="Sergey Fedorov <[email protected]>"
LABEL repository="strech/sidekiq-prometheus-exporter"

ENV RACK_VERSION 2.2.6.4
ENV WEBRICK_VERSION 1.8.1
ENV SIDEKIQ_VERSION 6.5.8
ENV REDIS_NAMESPACE_VERSION 1.10
ENV SIDEKIQ_PROMETHEUS_EXPORTER_VERSION 0.2.0

RUN addgroup -S exporter \
&& adduser -s /bin/false -SDHg exporter exporter \
&& gem install "rack:$RACK_VERSION" \
&& gem install "webrick:$WEBRICK_VERSION" \
&& gem install "sidekiq:$SIDEKIQ_VERSION" \
&& gem install "redis-namespace:$REDIS_NAMESPACE_VERSION" \
&& gem install "sidekiq-prometheus-exporter:$SIDEKIQ_PROMETHEUS_EXPORTER_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion lib/sidekiq/prometheus/exporter/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Exporter
# NOTE: Every version update dropds Docker patch version to 0
# and every adjustment in Docker setup bumps it to +1
VERSION = '0.2.0'.freeze
DOCKER_PATCH_VERSION = '0'.freeze
DOCKER_PATCH_VERSION = '1'.freeze
end
end
end

0 comments on commit e118c12

Please sign in to comment.