This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce support for blue/green deploys.
- Loading branch information
1 parent
f87befa
commit 41b9616
Showing
17 changed files
with
1,641 additions
and
216 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,13 +1,16 @@ | ||
FROM debian | ||
FROM debian:jessie | ||
|
||
ENTRYPOINT [ "/marathon-lb/run" ] | ||
CMD [ "sse", "-m", "http://master.mesos:8080", "--health-check", "--group", "external" ] | ||
EXPOSE 80 81 443 9090 | ||
|
||
COPY . /marathon-lb | ||
|
||
RUN apt-get update && apt-get install -y python3 python3-pip haproxy openssl runit \ | ||
RUN apt-get update && apt-get install -y python3 python3-pip openssl libssl-dev runit \ | ||
wget build-essential libpcre3 libpcre3-dev python3-dateutil socat iptables libreadline-dev \ | ||
&& pip3 install -r /marathon-lb/requirements.txt \ | ||
&& /marathon-lb/build-haproxy.sh \ | ||
&& apt-get remove -yf --auto-remove wget libssl-dev build-essential libpcre3-dev libreadline-dev \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /marathon-lb |
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
Oops, something went wrong.