-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c503a1
commit 63a3b6d
Showing
2 changed files
with
12 additions
and
1 deletion.
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
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,11 @@ | ||
FROM nginx | ||
|
||
ENV CRUISE_CONTROL_UI_VERSION=0.4.0 | ||
ENV NGINX_HOME=/usr/share/nginx/html/ | ||
|
||
RUN curl -LO https://github.com/linkedin/cruise-control-ui/releases/download/v${CRUISE_CONTROL_UI_VERSION}/cruise-control-ui-${CRUISE_CONTROL_UI_VERSION}.tar.gz; \ | ||
tar xvfz cruise-control-ui-${CRUISE_CONTROL_UI_VERSION}.tar.gz -C ${NGINX_HOME} --strip-components=2; \ | ||
rm -f cruise-control-ui-${CRUISE_CONTROL_UI_VERSION}.tar.gz*; \ | ||
echo "dev,dev,/kafkacruisecontrol/" > "${NGINX_HOME}"static/config.csv; | ||
|
||
EXPOSE 9090 |