forked from supermy/mytools
-
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.
- Loading branch information
Showing
12 changed files
with
43 additions
and
32 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 |
---|---|---|
|
@@ -5,14 +5,14 @@ MAINTAINER supermy <[email protected]> | |
|
||
#RUN sed -i '1,3d' /etc/apt/sources.list | ||
|
||
RUN sed -i '4a \ | ||
deb http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
deb http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
deb-src http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
' /etc/apt/sources.list | ||
#RUN sed -i '4a \ | ||
# deb http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
# deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
# deb http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
# deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
# deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
# deb-src http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
# ' /etc/apt/sources.list | ||
|
||
# 慢 | ||
# deb http://ftp.sjtu.edu.cn/debian/ wheezy main non-free contrib \n \ | ||
|
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
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,9 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
if [ "$1" = 'redis-server' ]; then | ||
chown -R redis . | ||
exec gosu redis "$@" | ||
fi | ||
|
||
exec "$@" |
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,4 +1,4 @@ | ||
FROM supermy/docker-storm_base:0.9.3 | ||
FROM supermy/docker-storm:0.9.3 | ||
MAINTAINER supermy<[email protected]> | ||
|
||
RUN /usr/bin/config-supervisord.sh nimbus | ||
|
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,4 @@ | ||
FROM supermy/docker-storm_base:0.9.3 | ||
FROM supermy/docker-storm:0.9.3 | ||
MAINTAINER supermy<[email protected]> | ||
|
||
EXPOSE 6700 | ||
|
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,4 @@ | ||
FROM supermy/docker-storm_base:0.9.3 | ||
FROM supermy/docker-storm:0.9.3 | ||
MAINTAINER supermy<[email protected]> | ||
RUN /usr/bin/config-supervisord.sh ui | ||
|
||
|
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 |
---|---|---|
|
@@ -2,17 +2,17 @@ FROM debian:latest | |
|
||
MAINTAINER supermy <[email protected]> | ||
|
||
RUN sed -i '1,3d' /etc/apt/sources.list | ||
RUN echo '#hello'>> /etc/apt/sources.list | ||
|
||
RUN sed -i '1a \ | ||
deb http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
deb http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
deb-src http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
' /etc/apt/sources.list | ||
#RUN sed -i '1,3d' /etc/apt/sources.list | ||
#RUN echo '#hello'>> /etc/apt/sources.list | ||
|
||
#RUN sed -i '1a \ | ||
# deb http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
# deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
# deb http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
# deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib \n \ | ||
# deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \ | ||
# deb-src http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \ | ||
# ' /etc/apt/sources.list | ||
|
||
# sohu 更新服务器: | ||
#RUN sed -i '1a \ | ||
|