forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick elastic#11463 to 6.6: Remove jessie-updates repo from met…
…ricbeat docker images (elastic#11471) Cherry-pick of PR elastic#11463 to 6.6 branch. Original message: jessie-updates is not available anymore and it is used by some images, so CI builds fail with: ``` W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found ``` The repo is not really needed for the matter of the tests, so removing it. (cherry picked from commit 8eebebd)
- Loading branch information
Showing
6 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
FROM mysql:5.7.12 | ||
RUN apt-get update && apt-get install -y netcat | ||
HEALTHCHECK --interval=1s --retries=90 CMD nc -z localhost 3306 | ||
ARG MYSQL_IMAGE=mysql:5.7.12 | ||
FROM $MYSQL_IMAGE | ||
|
||
ENV MYSQL_ROOT_PASSWORD test | ||
|
||
HEALTHCHECK --interval=1s --retries=90 CMD mysql -u root -p$MYSQL_ROOT_PASSWORD -h$HOSTNAME -P 3306 -e "SHOW STATUS" > /dev/null | ||
|
||
COPY test.cnf /etc/mysql/conf.d/test.cnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[mysqld] | ||
bind-address = 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |