Skip to content

Commit

Permalink
don't install passenger-status to datadog tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 27, 2020
1 parent d428de7 commit aae624f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ COPY vendor/docker/ntp.conf /etc/ntp.conf
# Add Runit script for shoryuken workers
WORKDIR /home/app/webapp
RUN mkdir /etc/service/shoryuken
ADD vendor/docker/shoryuken.sh /etc/service/shoryuken/run
COPY vendor/docker/shoryuken.sh /etc/service/shoryuken/run

# Install Passenger monitor for Datadog
RUN wget https://github.com/Sjeanpierre/passenger-datadog-monitor/releases/download/v1.00/passenger-datadog-monitor && \
mv passenger-datadog-monitor /usr/local/bin && \
chmod +x /usr/local/bin/passenger-datadog-monitor && \
mkdir /etc/service/passenger-datadog
ADD vendor/docker/passenger-datadog.sh /etc/service/passenger-datadog/run
RUN chmod +x /etc/service/passenger-datadog/run
# RUN wget https://github.com/Sjeanpierre/passenger-datadog-monitor/releases/download/v1.00/passenger-datadog-monitor && \
# mv passenger-datadog-monitor /usr/local/bin && \
# chmod +x /usr/local/bin/passenger-datadog-monitor && \
# mkdir /etc/service/passenger-datadog
# COPY vendor/docker/passenger-datadog.sh /etc/service/passenger-datadog/run
# RUN chmod +x /etc/service/passenger-datadog/run

# Install Ruby gems
COPY Gemfile* /home/app/webapp/
Expand All @@ -50,7 +50,7 @@ RUN mkdir -p vendor/bundle && \
chown -R app:app . && \
chmod -R 755 . && \
gem update --system && \
gem install bundler && \
gem install bundler:2.1.4 && \
/sbin/setuser app bundle install --path vendor/bundle

# Copy webapp folder
Expand Down

0 comments on commit aae624f

Please sign in to comment.