This repository has been archived by the owner on Jun 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from galal-hussein/fix_mongo
Fix mongo cattle template
- Loading branch information
Showing
5 changed files
with
33 additions
and
35 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
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,20 +1,13 @@ | ||
FROM alpine:3.1 | ||
MAINTAINER Hussein Galal | ||
|
||
# install giddyup | ||
RUN apk add -U curl \ | ||
&& mkdir -p /opt/rancher/bin \ | ||
&& curl -L https://github.com/cloudnautique/giddyup/releases/download/v0.14.0/giddyup -o /opt/rancher/bin/giddyup \ | ||
&& chmod u+x /opt/rancher/bin/* | ||
|
||
ADD ./*.sh /opt/rancher/bin/ | ||
RUN chmod u+x /opt/rancher/bin/*.sh | ||
|
||
# install dig and jq | ||
RUN apk add -U alpine-sdk \ | ||
&& curl ftp://ftp.isc.org/isc/bind9/9.10.2/bind-9.10.2.tar.gz|tar -xzv \ | ||
&& cd bind-9.10.2 \ | ||
&& CFLAGS="-static" ./configure --without-openssl --disable-symtable \ | ||
&& make \ | ||
&& cp ./bin/dig/dig /opt/rancher/bin/ \ | ||
&& curl -L https://github.com/cloudnautique/giddyup/releases/download/v0.8.0/giddyup -o /opt/rancher/bin/giddyup \ | ||
&& chmod u+x /opt/rancher/bin/* \ | ||
&& apk del alpine-sdk \ | ||
&& rm -rf /var/cache/apk/* \ | ||
&& rm -rf /bind-9.10.2/ | ||
|
||
VOLUME /opt/rancher/bin |
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
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