Skip to content

Commit

Permalink
Remove jessie-updates repo from metricbeat docker images (#11463) (#1…
Browse files Browse the repository at this point in the history
…1469)

(cherry picked from commit 5fcfa55)
  • Loading branch information
jsoriano authored Mar 26, 2019
1 parent 95f6198 commit 34cec6d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions metricbeat/module/apache/_meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM httpd:2.4.20
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
RUN apt-get update && apt-get install -y curl
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
1 change: 1 addition & 0 deletions metricbeat/module/apache/_meta/Dockerfile.2.4.12
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM httpd:2.4.12
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
RUN apt-get update && apt-get install -y curl
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
1 change: 1 addition & 0 deletions metricbeat/module/mongodb/_meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM mongo:3.4
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
RUN apt-get update && apt-get install -y netcat
HEALTHCHECK --interval=1s --retries=90 CMD nc -z localhost 27017
1 change: 1 addition & 0 deletions metricbeat/module/nginx/_meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM nginx:1.9
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
RUN apt-get update && apt-get install -y curl
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
COPY ./nginx.conf /etc/nginx/

0 comments on commit 34cec6d

Please sign in to comment.