├── .DS_Store ├── .gitignore ├── README.md ├── _del_ansible ├── Dockerfile ├── README.md ├── ansible-2.3.0.0-1.tar.gz └── ansible-examples │ ├── README.md │ ├── create_user.yml │ └── hosts ├── _del_fis-php ├── Dockerfile ├── README.md ├── README.md.bak ├── demo.tar.gz ├── run.sh └── server_env.tar.gz ├── _del_golang-revel-ssh ├── Dockerfile ├── README.md ├── _app │ └── supervisord │ │ └── conf.d │ │ └── idoall.org.ini ├── go-release-branch.go1.4.zip ├── go1.7.4.src.tar.gz ├── golang.tar.gz └── run.sh ├── _del_golang ├── 1.4 │ ├── Dockerfile │ └── README.md ├── 1.7.4 │ ├── Dockerfile │ └── README.md ├── 1.9 │ ├── Dockerfile │ └── README.md ├── README.md └── README.md.bak ├── _del_golang1.7.4-revel0.13 ├── .gitignore ├── Dockerfile ├── README.md ├── _app │ └── supervisord │ │ └── conf.d │ │ └── idoall.org.ini ├── golang.tar.gz └── zoneinfo.tar.gz ├── _del_jira ├── Dockerfile ├── JIRA Core-7.2.7-language-pack-zh_CN.jar ├── README.md ├── README.md.bak ├── _app │ └── supervisord │ │ └── conf.d │ │ └── jira.ini ├── jira-init.sh ├── jira-install.sh ├── jira7.2_hack.zip └── run.sh ├── _del_nginx-php ├── README.md ├── README.md.bak ├── php5.6.29 │ ├── Dockerfile │ ├── README.md │ ├── _app │ │ └── nginx │ │ │ └── conf │ │ │ ├── conf.d │ │ │ └── default.conf │ │ │ └── nginx.conf │ └── run.sh └── php7.1.9 │ ├── Dockerfile │ ├── README.md │ ├── _app │ └── nginx │ │ └── conf │ │ ├── conf.d │ │ └── default.conf │ │ └── nginx.conf │ └── run.sh ├── _del_nginx ├── Dockerfile ├── README.md ├── README.md.bak ├── _app │ └── nginx │ │ └── conf │ │ ├── conf.d │ │ └── default.conf │ │ └── nginx.conf ├── openssl-1.0.1g.tar.gz ├── pcre-8.35.tar.gz ├── run.sh ├── tengine-2.2.0.zip └── zlib-1.2.8.tar.gz ├── _del_snowflake ├── Dockerfile ├── README.md ├── README.md.bak ├── buffered.go ├── buffered_test.go ├── client.go ├── client_test.go ├── cmd │ └── snowflake │ │ └── main.go ├── factory.go ├── factory_test.go └── packer.conf ├── _del_supervisor ├── Dockerfile ├── README.md ├── _app │ └── supervisord │ │ └── conf.d │ │ └── sshd.ini ├── meld3-1.0.2.tar.gz ├── run.sh ├── supervisor-3.3.0.tar.gz └── supervisord ├── _del_walle-web ├── Dockerfile ├── README.md ├── README.md.bak ├── _app │ ├── nginx │ │ └── conf │ │ │ └── conf.d │ │ │ └── default.conf │ └── supervisord │ │ └── conf.d │ │ └── walle-web.ini ├── _site │ └── walle-web-1.2.0 │ │ └── config │ │ └── local.php ├── composer1.2.4.phar ├── docker-compose-stack.yml ├── docker-compose.yml ├── run.sh ├── walle-web-1.2.0.tar.gz ├── walle-web-init.sh └── walleweb.dab ├── _del_wordpress ├── README.md ├── README.md.bak ├── php5.6.29 │ ├── Dockerfile │ ├── README.md │ ├── run.sh │ └── wordpress-init.sh └── php7.1.9 │ ├── Dockerfile │ ├── README.md │ ├── run.sh │ └── wordpress-init.sh ├── alpine ├── 3.10.2 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── .DS_Store │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ └── init │ │ ├── entrypoint │ │ └── supervisord ├── 3.11.3 │ ├── mshk │ │ ├── Dockerfile │ │ ├── README.md │ │ └── files │ │ │ ├── hooks │ │ │ ├── entrypoint-pre.d │ │ │ │ └── 01_user_group_setup │ │ │ ├── log.after │ │ │ │ └── 01_supervisord_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 01_supervisord │ │ │ └── init │ │ │ ├── entrypoint │ │ │ └── supervisord │ └── source │ │ ├── Dockerfile │ │ └── README.md ├── 3.18.3 │ └── source │ │ ├── Dockerfile │ │ └── README.md ├── 3.9.3 │ ├── Dockerfile │ └── README.md └── README.md ├── centos ├── .DS_Store ├── 6.8 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── rc.d │ │ │ └── init.d │ │ │ │ └── supervisord │ │ └── yum.repos.d │ │ │ ├── CentOS-Base.repo │ │ │ └── CentOS6-Base-163.repo │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ ├── init │ │ ├── entrypoint │ │ └── supervisord │ │ └── usr │ │ └── src │ │ └── _axel │ │ ├── axel-2.4-1.el6.rf.x86_64.rpm │ │ ├── axelget.conf │ │ └── axelget.py ├── 7.6 │ ├── .DS_Store │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── .DS_Store │ │ ├── etc │ │ └── yum.repos.d │ │ │ ├── CentOS-Base.repo │ │ │ └── CentOS7-Base-163.repo │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ ├── init │ │ ├── entrypoint │ │ └── supervisord │ │ └── usr │ │ ├── .DS_Store │ │ └── src │ │ └── epel-release-7-11.noarch.rpm └── README.md ├── centos6.8-golang ├── 1.4 │ ├── Dockerfile │ └── README.md ├── 1.7.4 │ ├── Dockerfile │ └── README.md ├── 1.9 │ ├── Dockerfile │ └── README.md └── README.md ├── centos6.8-sshd ├── Dockerfile ├── README.md └── files │ ├── etc │ └── _sshd │ │ └── sshd.ini │ ├── hooks │ ├── log.after │ │ └── 01_sshd_log │ └── supervisord-pre.d │ │ └── 01_sshd_setup │ └── sshd_config ├── centos6.8-tengine ├── 2.2.0 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── nginx.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 01_nginx_conf │ │ └── 02_nginx_setup │ │ └── log.after │ │ └── 01_nginx_log └── README.md ├── centos6.8-tengine2.2.0-php ├── 7.1.9 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── php.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 32_php_setup │ │ └── 33_nginx_php_conf │ │ └── log.after │ │ └── 01_php_log └── README.md ├── centos7.6-golang ├── 1.12.9 │ ├── Dockerfile │ └── README.md ├── 1.4 │ ├── Dockerfile │ └── README.md └── README.md ├── centos7.6-nginx ├── 1.14.2 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── nginx.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 01_nginx_conf │ │ └── 02_nginx_setup │ │ └── log.after │ │ └── 01_nginx_log └── README.md ├── docker ├── 22.06-rc-dind │ ├── Dockerfile │ └── README.md └── dind │ ├── Dockerfile │ └── README.md ├── echoserver └── 1.10 │ ├── Dockerfile │ └── README.md ├── elasticsearch ├── 5.6.16 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml ├── 6.7 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml ├── 7.0 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml └── README.md ├── expressvpn ├── 3.17 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.19 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.21 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.22 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.23 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.24 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.27 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── 3.29 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh └── 3.32 │ ├── Dockerfile │ ├── README.MD │ ├── checkExpressVPNStatus.sh │ ├── crontab │ ├── docker-compose │ └── docker-compose.yml │ ├── entrypoint.sh │ └── expressvpnActivate.sh ├── flume ├── 1.9.0 │ ├── Dockerfile │ └── README.md └── README.md ├── frp └── 0.56.0 │ ├── .gitignore │ ├── Dockerfile-for-frpc │ ├── Dockerfile-for-frps │ └── README.md ├── gitlab-ce ├── 11.10.0-ce.0 │ ├── .env │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.3.6.yml │ ├── docker-compose.yml │ ├── example.gitlab-ci.yml │ ├── gitlab.rb │ └── root_password.txt ├── 11.3.9-ce.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.3.6.yml │ ├── docker-compose.yml │ ├── gitlab.rb │ └── root_password.txt ├── 15.6.0-ce.0 │ ├── .env │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.3.6.yml │ ├── docker-compose.yml │ ├── example.gitlab-ci.yml │ ├── gitlab.rb │ └── root_password.txt ├── 9.3.6-ce.0 │ ├── Dockerfile │ └── README.md └── README.md ├── gitlab-runner ├── README.md ├── alpine-v11.10.0 │ ├── Dockerfile │ └── README.md ├── alpine3.12-v15.6.0 │ ├── Dockerfile │ └── README.md ├── alpine3.15-v15.6.1 │ ├── Dockerfile │ └── README.md └── v11.10.0 │ ├── Dockerfile │ └── README.md ├── golang ├── 1.12.4-exchange │ ├── Dockerfile │ └── README.md ├── 1.12.4-pkg │ ├── Dockerfile │ └── README.md ├── 1.12.4-zh │ ├── Dockerfile │ └── README.md ├── 1.12.4 │ ├── Dockerfile │ ├── README.md │ └── files │ │ └── go │ │ └── pkg │ │ └── mod │ │ └── cache │ │ └── download │ │ └── sigs.k8s.io │ │ ├── structured-merge-diff │ │ └── @v │ │ │ ├── list │ │ │ ├── v0.0.0-20190325200619-18dcdd8ac8f3.info │ │ │ ├── v0.0.0-20190325200619-18dcdd8ac8f3.mod │ │ │ ├── v0.0.0-20190325200619-18dcdd8ac8f3.zip │ │ │ └── v0.0.0-20190325200619-18dcdd8ac8f3.ziphash │ │ └── yaml │ │ └── @v │ │ ├── list │ │ ├── v1.1.0.info │ │ ├── v1.1.0.mod │ │ ├── v1.1.0.zip │ │ └── v1.1.0.ziphash ├── 1.12.9-exchange │ ├── Dockerfile │ └── README.md ├── 1.12.9 │ ├── Dockerfile │ └── README.md ├── 1.13.1-exchange │ ├── Dockerfile │ └── README.md ├── 1.13.1 │ ├── Dockerfile │ └── README.md ├── 1.13.8 │ ├── alpine3.11.3-mshk │ │ ├── Dockerfile │ │ └── README.md │ ├── alpine3.11.3-source │ │ ├── Dockerfile │ │ └── README.md │ ├── alpine3.11.3-wx │ │ ├── Dockerfile │ │ └── README.md │ └── stretch │ │ ├── Dockerfile │ │ └── README.md ├── 1.17.8 │ ├── Dockerfile │ └── README.md ├── 1.19.5 │ ├── Dockerfile │ └── README.md ├── 1.22.0 │ ├── Dockerfile │ └── README.md ├── 1.23.5 │ ├── Dockerfile │ └── README.md └── README.md ├── golang1.12.9-gaea ├── 1.0.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ └── _supervisord │ │ │ └── gaea.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ └── 01_gaea_setup │ │ └── log.after │ │ └── 01_gaea_log └── README.md ├── jaeger ├── README.md ├── docker-compose.yml ├── jaeger-agent │ └── 1.11.0 │ │ ├── Dockerfile │ │ └── README.md ├── jaeger-collector │ └── 1.11.0 │ │ ├── Dockerfile │ │ └── README.md └── jaeger-query │ └── 1.11.0 │ ├── Dockerfile │ └── README.md ├── jenkins ├── 2.138.3 │ ├── Dockerfile │ └── README.md ├── 2.152 │ ├── Dockerfile │ └── README.md └── README.md ├── k8s-helm ├── 2.11.0 │ ├── Dockerfile │ └── README.md ├── 2.13.1 │ ├── Dockerfile │ └── README.md └── 3.0.0 │ └── alpine3.11.3-source │ ├── Dockerfile │ └── README.md ├── kibana ├── 5.6.16 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml ├── 6.7.1 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml ├── 7.0 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml └── README.md ├── mysql ├── 5.6 │ └── Dockerfile ├── 5.7 │ └── Dockerfile ├── 8.0 │ └── Dockerfile └── README.md ├── node ├── 10.15.3-alpine │ ├── Dockerfile │ └── README.md ├── 10.19.0 │ └── alpine3.11.3-source │ │ ├── Dockerfile │ │ └── README.md ├── 12.16.1 │ └── alpine3.11.3-source │ │ ├── Dockerfile │ │ └── README.md ├── 13.8.0 │ └── alpine3.11.3-source │ │ ├── Dockerfile │ │ └── README.md ├── 14.12.1 │ └── alpine3.16 │ │ ├── Dockerfile │ │ └── README.md ├── 18.12.1 │ └── alpine3.16 │ │ ├── Dockerfile │ │ └── README.md ├── 18.20.3 │ └── alpine3.18 │ │ ├── Dockerfile │ │ ├── README.md │ │ └── docker-entrypoint.sh ├── 20.18.0 │ └── alpine3.20 │ │ ├── Dockerfile │ │ ├── README.md │ │ └── docker-entrypoint.sh └── 22.13.1 │ ├── alpine3.21 │ ├── Dockerfile │ ├── README.md │ └── docker-entrypoint.sh │ └── slim │ ├── Dockerfile │ └── README.md ├── registry ├── 2.7.1 │ ├── Dockerfile │ ├── README.md │ └── config.yml └── README.md ├── shazam ├── 1.0.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ └── _supervisord │ │ │ └── shazam.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ └── 01_shazam_setup │ │ └── log.after │ │ └── 01_shazam_log └── README.md ├── ubuntu ├── 16.04-source │ ├── Dockerfile │ └── README.md ├── 16.04 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ └── apt │ │ │ └── sources.list │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ └── init │ │ ├── entrypoint │ │ └── supervisord ├── 18.04.5 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ └── apt │ │ │ └── sources.list │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ └── init │ │ ├── entrypoint │ │ └── supervisord ├── 18.04 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ └── apt │ │ │ └── sources.list │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ └── init │ │ ├── entrypoint │ │ └── supervisord ├── 19.10 │ └── source │ │ ├── Dockerfile │ │ └── README.md ├── 20.04 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ └── apt │ │ │ └── sources.list │ │ ├── hooks │ │ ├── entrypoint-pre.d │ │ │ └── 01_user_group_setup │ │ ├── log.after │ │ │ └── 01_supervisord_log │ │ └── supervisord-pre.d │ │ │ └── 01_supervisord │ │ └── init │ │ ├── entrypoint │ │ └── supervisord └── README.md ├── ubuntu16.04-golang ├── 1.10.3 │ ├── Dockerfile │ └── README.md ├── 1.11.2 │ ├── Dockerfile │ └── README.md ├── 1.4 │ ├── Dockerfile │ └── README.md ├── 1.7.4 │ ├── Dockerfile │ └── README.md ├── 1.9 │ ├── Dockerfile │ └── README.md └── README.md ├── ubuntu16.04-golang1.10.3-v8 ├── 6.3.292 │ ├── Dockerfile │ └── README.md └── README.md ├── ubuntu16.04-golang1.11.2-jira-bamboo ├── 6.7.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_bamboo_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_bamboo_setup │ │ └── usr │ │ │ └── src │ │ │ └── _bamboo │ │ │ ├── atlassian-extras-decoder-v2-3.3.0.jar │ │ │ ├── atlassian-extras-legacy-3.3.0.jar │ │ │ └── crowd-integration-client-3.3.2.jar │ └── my.ini └── README.md ├── ubuntu16.04-golang1.9-revel ├── Dockerfile ├── README.md └── files │ ├── etc │ └── _supervisord │ │ └── revel.ini │ └── hooks │ └── supervisord-pre.d │ └── 30_revel-demo-setup ├── ubuntu16.04-golang1.9-snowflake ├── Dockerfile ├── README.md └── files │ ├── home │ └── work │ │ └── _project │ │ └── golang │ │ └── src │ │ └── github.com │ │ └── idoall │ │ └── docker │ │ └── snowflake │ │ ├── buffered.go │ │ ├── buffered_test.go │ │ ├── client.go │ │ ├── client_test.go │ │ ├── cmd │ │ └── snowflake │ │ │ └── main.go │ │ ├── factory.go │ │ └── factory_test.go │ └── hooks │ └── supervisord-pre.d │ └── 02_snowflake_setup ├── ubuntu16.04-jdk ├── 10 │ ├── Dockerfile │ └── README.md ├── 8.0.112 │ ├── Dockerfile │ └── README.md └── README.md ├── ubuntu16.04-jdk10-confluence ├── 6.12.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── home │ │ │ └── work │ │ │ │ └── _script │ │ │ │ └── confluence-install.sh │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_confluence_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_confluence_restart │ │ └── usr │ │ │ └── src │ │ │ └── _confluence │ │ │ ├── confluence_keygen.jar │ │ │ └── mysql-connector-java-5.1.47-bin.jar │ └── my.ini └── README.md ├── ubuntu16.04-jira-bamboo ├── 6.7.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_bamboo_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_bamboo_setup │ │ └── usr │ │ │ └── src │ │ │ └── _bamboo │ │ │ ├── atlassian-extras-decoder-v2-3.3.0.jar │ │ │ ├── atlassian-extras-legacy-3.3.0.jar │ │ │ └── crowd-integration-client-3.3.2.jar │ └── my.ini └── README.md ├── ubuntu16.04-jira-core ├── 7.12.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── home │ │ │ └── work │ │ │ │ └── _script │ │ │ │ └── jira-install.sh │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_jira_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_jira_setup │ │ └── usr │ │ │ └── src │ │ │ └── _jira │ │ │ └── atlassian-extras-3.2.jar │ └── my.ini └── README.md ├── ubuntu16.04-jira-crowd ├── 3.3.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_crowd_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_crowd_setup │ │ └── usr │ │ │ └── src │ │ │ └── _crowd │ │ │ └── crowd_keygen.jar │ └── my.ini └── README.md ├── ubuntu16.04-jira-crucible ├── 4.6.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_crucible_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_crucible_setup │ │ └── usr │ │ │ └── src │ │ │ └── _crucible │ │ │ └── crucible_keygen.jar │ └── my.ini └── README.md ├── ubuntu16.04-jira-fisheye ├── 4.6.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── hooks │ │ ├── log.after │ │ │ └── 10_fisheye_log │ │ └── supervisord-pre.d │ │ │ └── 10_fisheye_setup │ │ └── usr │ │ └── src │ │ └── _fisheye │ │ └── fisheye_keygen.jar └── README.md ├── ubuntu16.04-jira-software ├── 7.12.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── files │ │ ├── home │ │ │ └── work │ │ │ │ └── _script │ │ │ │ └── jira-install.sh │ │ ├── hooks │ │ │ ├── log.after │ │ │ │ └── 10_jira_log │ │ │ └── supervisord-pre.d │ │ │ │ └── 10_jira_setup │ │ └── usr │ │ │ └── src │ │ │ └── _jira │ │ │ ├── atlassian-extras-3.2.jar │ │ │ └── atlassian-universal-plugin-manager-plugin-2.22.9.jar │ └── my.ini └── README.md ├── ubuntu16.04-jira ├── 7.2.7 │ ├── Dockerfile │ ├── JIRA Core-7.2.7-language-pack-zh_CN.jar │ ├── README.md │ └── files │ │ ├── etc │ │ └── _supervisord │ │ │ └── jira.ini │ │ ├── home │ │ └── work │ │ │ └── _script │ │ │ └── jira-install.sh │ │ ├── hooks │ │ └── supervisord-pre.d │ │ │ ├── 10_jira_setup │ │ │ └── 11_jira_conf │ │ └── usr │ │ └── src │ │ └── _jira │ │ └── jira7.2_hack.zip └── README.md ├── ubuntu16.04-nginx ├── 1.12.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── nginx.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 01_nginx_conf │ │ └── 02_nginx_setup │ │ └── log.after │ │ └── 01_nginx_log ├── 1.18.0 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── nginx.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 01_nginx_conf │ │ └── 02_nginx_setup │ │ └── log.after │ │ └── 01_nginx_log └── README.md ├── ubuntu16.04-nginx1.12.1-php ├── 7.1.9 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ └── conf.d │ │ │ │ └── default.conf │ │ └── _supervisord │ │ │ └── php.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 32_php_setup │ │ └── 33_nginx_php_conf │ │ └── log.after │ │ └── 01_php_log └── README.md ├── ubuntu16.04-nginx1.12.1-php7.1.9-wordpress ├── 4.8.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ └── hooks │ │ └── supervisord-pre.d │ │ └── 40_wordpress_setup └── README.md ├── ubuntu16.04-nginx1.18.0-php ├── 7.4.9 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ └── conf.d │ │ │ │ └── default.conf │ │ └── _supervisord │ │ │ └── php.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 32_php_setup │ │ └── 33_nginx_php_conf │ │ └── log.after │ │ └── 01_php_log └── README.md ├── ubuntu16.04-nginx1.18.0-php7.4.9-wordpress ├── 5.5.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ └── hooks │ │ └── supervisord-pre.d │ │ └── 40_wordpress_setup └── README.md ├── ubuntu16.04-sshd ├── Dockerfile ├── README.md └── files │ ├── etc │ └── _sshd │ │ └── sshd.ini │ ├── hooks │ ├── log.after │ │ └── 01_sshd_log │ └── supervisord-pre.d │ │ └── 01_sshd_setup │ └── sshd_config ├── ubuntu16.04-tengine ├── 2.2.0 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── nginx.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 01_nginx_conf │ │ └── 02_nginx_setup │ │ └── log.after │ │ └── 01_nginx_log └── README.md ├── ubuntu16.04-tengine2.2.0-php ├── 7.1.9 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── php.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 32_php_setup │ │ └── 33_nginx_php_conf │ │ └── log.after │ │ └── 01_php_log ├── 7.4.9 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── php.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 32_php_setup │ │ └── 33_nginx_php_conf │ │ └── log.after │ │ └── 01_php_log └── README.md ├── ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki ├── 2018-04-22a │ ├── Dockerfile │ └── README.md ├── Dockerfile └── README.md ├── ubuntu16.04-tengine2.2.0-php7.1.9-fis3 ├── Dockerfile ├── README.md ├── demo.tar.gz ├── files │ └── hooks │ │ └── log.after │ │ └── 02_fis3_log └── server_env.tar.gz ├── ubuntu16.04-tengine2.2.0-php7.1.9-walle-web ├── 1.2.0 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ └── conf.d │ │ │ │ └── default.conf │ │ └── _supervisord │ │ │ └── walle.ini │ │ ├── home │ │ └── work │ │ │ └── _script │ │ │ └── walle-web-init.sh │ │ ├── hooks │ │ ├── log.after │ │ │ └── 40_supervisord_walle │ │ └── supervisord-pre.d │ │ │ ├── 40_walle-web_conf │ │ │ └── 41_walle-web_setup │ │ └── usr │ │ └── src │ │ └── _walle │ │ └── local.php └── README.md ├── ubuntu16.04-tengine2.2.0-php7.1.9-wordpress ├── 4.8.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ └── hooks │ │ └── supervisord-pre.d │ │ └── 40_wordpress_setup └── README.md ├── ubuntu16.04-tengine2.2.0-php7.1.9-zentao ├── 10.5.1 │ ├── Dockerfile │ ├── README.md │ └── docker-compose.yml └── README.md ├── ubuntu18.04-lede ├── 20200416 │ ├── Dockerfile │ ├── Dockerfile copy │ ├── README.md │ └── files │ │ ├── hooks │ │ └── supervisord-pre.d │ │ │ └── 01_lede_setup │ │ └── src │ │ └── lede │ │ ├── .config │ │ ├── .config.bak │ │ ├── banner │ │ ├── feeds.conf.default │ │ └── package │ │ └── network │ │ └── utils │ │ └── iproute2 │ │ └── Makefile ├── 20200908 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── hooks │ │ └── supervisord-pre.d │ │ │ └── 01_lede_setup │ │ └── src │ │ └── lede │ │ ├── .config │ │ ├── banner │ │ ├── feeds.conf.default │ │ └── package │ │ └── network │ │ └── utils │ │ └── iproute2 │ │ └── Makefile └── README.md ├── ubuntu18.04.5-nginx ├── 1.18.0 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ └── nginx.conf │ │ └── _supervisord │ │ │ └── nginx.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 01_nginx_conf │ │ └── 02_nginx_setup │ │ └── log.after │ │ └── 01_nginx_log └── README.md ├── ubuntu18.04.5-nginx1.18.0-php ├── 7.4.9 │ ├── Dockerfile │ ├── README.md │ └── files │ │ ├── etc │ │ ├── _nginx │ │ │ └── conf.d │ │ │ │ └── default.conf │ │ └── _supervisord │ │ │ └── php.ini │ │ └── hooks │ │ ├── entrypoint-pre.d │ │ ├── 32_php_setup │ │ └── 33_nginx_php_conf │ │ └── log.after │ │ └── 01_php_log └── README.md ├── ubuntu18.04.5-nginx1.18.0-php7.4.9-wordpress ├── 5.5.1 │ ├── Dockerfile │ ├── README.md │ └── files │ │ └── hooks │ │ └── supervisord-pre.d │ │ └── 40_wordpress_setup └── README.md └── whoami ├── Dockerfile ├── README.md └── http.go /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 日常中整理的docker应用,随意使用 -------------------------------------------------------------------------------- /_del_ansible/ansible-2.3.0.0-1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_ansible/ansible-2.3.0.0-1.tar.gz -------------------------------------------------------------------------------- /_del_ansible/ansible-examples/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ```shell 4 | # Build the user with the following command: 5 | ansible-playbook -i /home/work/_script/hosts user.yml 6 | ``` -------------------------------------------------------------------------------- /_del_ansible/ansible-examples/create_user.yml: -------------------------------------------------------------------------------- 1 | - name: create user 2 | # 选择的主机 3 | hosts: web 4 | # 远程主机执行用户的权限 5 | remote_user: root 6 | gather_facts: false 7 | # 变量 8 | vars: 9 | - user: "idoall" 10 | # 任务列表 11 | tasks: 12 | - name: create {{ user }} on localhost 13 | user: name="{{ user }}" 14 | # 使用shell脚本启动命令,如果stop 有错误的时候,也返回true 15 | tasks: 16 | - name: stop nginx 17 | shell: /home/work/_app/nginx/sbin/nginx -s stop || /bin/true 18 | # 复制文件 19 | tasks: 20 | - name: Copy file to client 21 | copy: src=/home/work/_script/hosts dest=/home/work/_script/ -------------------------------------------------------------------------------- /_del_ansible/ansible-examples/hosts: -------------------------------------------------------------------------------- 1 | [web] 2 | nginx-php -------------------------------------------------------------------------------- /_del_fis-php/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Ubuntu 6 | 7 | - [https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-fis3/](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-fis3/) -------------------------------------------------------------------------------- /_del_fis-php/demo.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_fis-php/demo.tar.gz -------------------------------------------------------------------------------- /_del_fis-php/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # 启动 supervisord 5 | service supervisord start 6 | # 启动 sshd 7 | service sshd start 8 | 9 | # outpu log 10 | tail -F /home/work/_logs/supervisord/supervisord.log \ 11 | /root/.fis3-tmp/www/app.log \ 12 | /root/.fis3-tmp/www/server.log 13 | -------------------------------------------------------------------------------- /_del_fis-php/server_env.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_fis-php/server_env.tar.gz -------------------------------------------------------------------------------- /_del_golang-revel-ssh/README.md: -------------------------------------------------------------------------------- 1 | 2 | golang1.7.4-revel0.13-ssh 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following base images: 7 | - [`idoall/supervisor`](https://hub.docker.com/r/idoall/supervisor/) 8 | 9 | 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd golang-revel-ssh 17 | 18 | # hack hack hack 19 | 20 | # build 21 | docker build -t idoall/golang-revel-ssh . 22 | 23 | # Run 24 | docker run -d \ 25 | --name golang \ 26 | --hostname golang \ 27 | -p 80:80 \ 28 | -p 2222:22 \ 29 | idoall/golang-revel-ssh 30 | 31 | # Open http://localhost in your browser and you should see "It works!" 32 | 33 | # ssh user:work password:123456 34 | ssh work@ -p 2222 35 | ``` 36 | -------------------------------------------------------------------------------- /_del_golang-revel-ssh/_app/supervisord/conf.d/idoall.org.ini: -------------------------------------------------------------------------------- 1 | [program:idoall-org] 2 | directory = /home/work/go/bin/ ; 程序的启动目录 3 | command = /home/work/go/bin/revel run github.com/idoall.org/my-app ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 3 ; 启动失败自动重试次数,默认是 3 8 | user = root ; 用哪个用户启动 9 | redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_idoall_org.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhere -------------------------------------------------------------------------------- /_del_golang-revel-ssh/go-release-branch.go1.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_golang-revel-ssh/go-release-branch.go1.4.zip -------------------------------------------------------------------------------- /_del_golang-revel-ssh/go1.7.4.src.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_golang-revel-ssh/go1.7.4.src.tar.gz -------------------------------------------------------------------------------- /_del_golang-revel-ssh/golang.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_golang-revel-ssh/golang.tar.gz -------------------------------------------------------------------------------- /_del_golang-revel-ssh/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # 启动 supervisord 5 | service supervisord start 6 | # 启动 sshd 7 | service sshd start 8 | 9 | # outpu log 10 | revel run github.com/idoall.org/my-app 11 | -------------------------------------------------------------------------------- /_del_golang/1.4/README.md: -------------------------------------------------------------------------------- 1 | 2 | golang1.4-docker 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/supervisor`](https://hub.docker.com/r/idoall/supervisor/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd golang/1.4 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/golang:1.4 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/golang:1.4 go version 25 | 26 | # Run 27 | docker run -it --name=golang idoall/golang:1.4 /bin/bash 28 | ``` 29 | -------------------------------------------------------------------------------- /_del_golang/1.7.4/README.md: -------------------------------------------------------------------------------- 1 | 2 | golang1.4-docker 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/supervisor`](https://hub.docker.com/r/idoall/supervisor/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd golang/1.7.4 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/golang:1.7.4 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/golang:1.7.4 go version 25 | 26 | # Run 27 | docker run -it --name=golang idoall/golang:1.7.4 /bin/bash 28 | ``` 29 | -------------------------------------------------------------------------------- /_del_golang/1.9/README.md: -------------------------------------------------------------------------------- 1 | 2 | golang1.9-docker 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/golang:1.4`](https://hub.docker.com/r/idoall/golang:1.4/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd golang/1.9 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/golang:1.9 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/golang:1.9 go version 25 | 26 | # Run 27 | docker run -it --name=golang idoall/golang:1.9 /bin/bash 28 | ``` 29 | -------------------------------------------------------------------------------- /_del_golang/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Centos 6 | 7 | - [https://hub.docker.com/r/idoall/centos6.8-golang/](https://hub.docker.com/r/idoall/centos6.8-golang/) 8 | 9 | # Supported Ubuntu 10 | 11 | - [https://hub.docker.com/r/idoall/ubuntu16.04-golang/](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) -------------------------------------------------------------------------------- /_del_golang/README.md.bak: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/supervisor`](https://hub.docker.com/r/idoall/supervisor/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`1.9`(*1.9/Dockerfile*)](https://github.com/idoall/docker/blob/master/golang/1.9/Dockerfile) 10 | 11 | - [`1.7.4`(*1.7.4/Dockerfile*)](https://github.com/idoall/docker/blob/master/golang/1.7.4/Dockerfile) 12 | 13 | - [`1.4.3`(*1.4.3/Dockerfile*)](https://github.com/idoall/docker/blob/master/golang/1.4/Dockerfile) 14 | 15 | ​ 16 | 17 | -------------------------------------------------------------------------------- /_del_golang1.7.4-revel0.13/.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store -------------------------------------------------------------------------------- /_del_golang1.7.4-revel0.13/_app/supervisord/conf.d/idoall.org.ini: -------------------------------------------------------------------------------- 1 | [program:idoall-org] 2 | directory = /home/work/ ; 程序的启动目录 3 | command = revel run github.com/idoall.org/my-app ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 3 ; 启动失败自动重试次数,默认是 3 8 | user = root ; 用哪个用户启动 9 | redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_idoall_org.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhere -------------------------------------------------------------------------------- /_del_golang1.7.4-revel0.13/golang.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_golang1.7.4-revel0.13/golang.tar.gz -------------------------------------------------------------------------------- /_del_golang1.7.4-revel0.13/zoneinfo.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_golang1.7.4-revel0.13/zoneinfo.tar.gz -------------------------------------------------------------------------------- /_del_jira/JIRA Core-7.2.7-language-pack-zh_CN.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_jira/JIRA Core-7.2.7-language-pack-zh_CN.jar -------------------------------------------------------------------------------- /_del_jira/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Ubuntu 6 | 7 | - [https://hub.docker.com/r/idoall/ubuntu16.04-jira/](https://hub.docker.com/r/idoall/ubuntu16.04-jira/) -------------------------------------------------------------------------------- /_del_jira/_app/supervisord/conf.d/jira.ini: -------------------------------------------------------------------------------- 1 | [program:jira] 2 | directory = /home/work/_script ; 程序的启动目录 3 | command = /home/work/_script/jira-init.sh ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 3 ; 启动失败自动重试次数,默认是 3 8 | user = root ; 用哪个用户启动 9 | redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_jira.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhere 16 | -------------------------------------------------------------------------------- /_del_jira/jira-install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | 3 | #一直等待程序的输入 4 | set timeout -1 5 | 6 | #设置变量 7 | set will_install o 8 | set express_install 1 9 | set install_as_service i 10 | 11 | # 启动安装程序 12 | spawn /home/work/_src/atlassian-jira-software-7.2.7-x64.bin 13 | 14 | expect { 15 | "o, Enter" { send "o\r";exp_continue} 16 | "use default settings" { send "1\r";exp_continue } 17 | "i, Enter" { send "i\r";exp_continue } 18 | "y, Enter" { send "y\r" } 19 | } 20 | 21 | 22 | expect eof 23 | exit -------------------------------------------------------------------------------- /_del_jira/jira7.2_hack.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_jira/jira7.2_hack.zip -------------------------------------------------------------------------------- /_del_jira/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # 启动 supervisord 5 | service supervisord start 6 | # 启动 sshd 7 | service sshd start 8 | 9 | # outpu log 10 | tail -F /home/work/_logs/supervisord/supervisord.log 11 | -------------------------------------------------------------------------------- /_del_nginx-php/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Centos 6 | 7 | - [https://hub.docker.com/r/idoall/centos6.8-tengine2.2.0-php/](https://hub.docker.com/r/idoall/centos6.8-tengine2.2.0-php/) 8 | 9 | # Supported Ubuntu 10 | 11 | - [https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php/](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php/) -------------------------------------------------------------------------------- /_del_nginx-php/README.md.bak: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/supervisor`](https://hub.docker.com/r/idoall/supervisor/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`7.1.9`(*7.1.9/Dockerfile*)](https://github.com/idoall/docker/blob/master/nginx-php/7.1.9/Dockerfile) 10 | 11 | - [`5.6.29`(*5.6.29/Dockerfile*)](https://github.com/idoall/docker/blob/master/nginx-php/5.6.29/Dockerfile) 12 | 13 | ​ 14 | 15 | -------------------------------------------------------------------------------- /_del_nginx-php/php5.6.29/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | # 启动 supervisord 6 | service supervisord start 7 | # 启动 sshd 8 | service sshd start 9 | # 启动 nginx 10 | /home/work/_app/nginx/sbin/nginx 11 | # 启动 php-fpm 12 | service php-fpm start 13 | 14 | # outpu log 15 | tail -F /home/work/_logs/supervisord/supervisord.log \ 16 | /home/work/_logs/nginx/default.access.log \ 17 | /home/work/_logs/nginx/default.error.log \ 18 | /home/work/_logs/nginx/error.log \ 19 | /home/work/_logs/php/fpm-php.slow.log \ 20 | /home/work/_logs/php/php-fpm.error.log 21 | -------------------------------------------------------------------------------- /_del_nginx-php/php7.1.9/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | # 启动 supervisord 6 | service supervisord start 7 | # 启动 sshd 8 | service sshd start 9 | # 启动 nginx 10 | /home/work/_app/nginx/sbin/nginx 11 | # 启动 php-fpm 12 | /home/work/_app/php7.1.9/sbin/php-fpm 13 | 14 | # outpu log 15 | tail -F /home/work/_logs/supervisord/supervisord.log \ 16 | /home/work/_logs/nginx/default.access.log \ 17 | /home/work/_logs/nginx/default.error.log \ 18 | /home/work/_logs/nginx/error.log \ 19 | /home/work/_logs/php/fpm-php.slow.log \ 20 | /home/work/_logs/php/php-fpm.error.log \ 21 | /home/work/_logs/php/php.www.access.log 22 | -------------------------------------------------------------------------------- /_del_nginx/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Centos 6 | 7 | - [https://hub.docker.com/r/idoall/centos6.8-tengine/](https://hub.docker.com/r/idoall/centos6.8-tengine/) 8 | 9 | # Supported Ubuntu 10 | 11 | - [https://hub.docker.com/r/idoall/ubuntu16.04-tengine/](https://hub.docker.com/r/idoall/ubuntu16.04-tengine/) -------------------------------------------------------------------------------- /_del_nginx/openssl-1.0.1g.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_nginx/openssl-1.0.1g.tar.gz -------------------------------------------------------------------------------- /_del_nginx/pcre-8.35.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_nginx/pcre-8.35.tar.gz -------------------------------------------------------------------------------- /_del_nginx/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # 启动 supervisord 5 | service supervisord start 6 | # 启动 sshd 7 | service sshd start 8 | # 启动 nginx 9 | /home/work/_app/nginx/sbin/nginx 10 | 11 | # outpu log 12 | tail -F /home/work/_logs/supervisord/supervisord.log \ 13 | /home/work/_logs/nginx/default.access.log \ 14 | /home/work/_logs/nginx/default.error.log \ 15 | /home/work/_logs/nginx/error.log 16 | -------------------------------------------------------------------------------- /_del_nginx/tengine-2.2.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_nginx/tengine-2.2.0.zip -------------------------------------------------------------------------------- /_del_nginx/zlib-1.2.8.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_nginx/zlib-1.2.8.tar.gz -------------------------------------------------------------------------------- /_del_snowflake/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/golang 2 | MAINTAINER lion 3 | 4 | 5 | ADD . /home/work/golang/src/github.com/idoall/docker/snowflake 6 | 7 | RUN go install github.com/idoall/docker/snowflake/cmd/snowflake 8 | 9 | ENV PORT 80 10 | 11 | CMD [ "/home/work/go/bin/snowflake" ] 12 | -------------------------------------------------------------------------------- /_del_snowflake/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Ubuntu 6 | 7 | - [https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-fis3/](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-fis3/) -------------------------------------------------------------------------------- /_del_snowflake/client_test.go: -------------------------------------------------------------------------------- 1 | package snowflake 2 | 3 | import ( 4 | "net/http" 5 | "net/http/httptest" 6 | "testing" 7 | ) 8 | 9 | func TestHttpFactory(t *testing.T) { 10 | maxN := 512 11 | handler := makeHandler(Mock, maxN) 12 | router := http.NewServeMux() 13 | router.Handle("/10/13", handler) 14 | 15 | fn := func(req *http.Request) (*http.Response, error) { 16 | recorder := httptest.NewRecorder() 17 | router.ServeHTTP(recorder, req) 18 | return recorder.Result(), nil 19 | } 20 | 21 | remoteFactory, err := NewClient(WithDoFunc(fn)) 22 | if err != nil { 23 | t.Error("Unable to create HttpFactory") 24 | } 25 | 26 | client := NewBufferedClient(remoteFactory) 27 | 28 | uniques := map[int64]int64{} 29 | iterations := maxN * 32 30 | for i := 0; i < iterations; i++ { 31 | id := client.Id() 32 | uniques[id] = id 33 | } 34 | client.Close() 35 | 36 | if v := len(uniques); v != iterations { 37 | t.Errorf("expected %v; got %v\n", iterations, v) 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /_del_snowflake/packer.conf: -------------------------------------------------------------------------------- 1 | { 2 | "builders": [ 3 | { 4 | "type": "amazon-ebs", 5 | "region": "us-east-1", 6 | "source_ami": "ami-d05e75b8", 7 | "instance_type": "t2.micro", 8 | "ssh_username": "ubuntu", 9 | "ami_name": "snowflake {{timestamp}}", 10 | "run_tags": { 11 | "Name": "packer" 12 | }, 13 | "associate_public_ip_address": true, 14 | "security_group_id": "sg-c94897ad", 15 | "subnet_id": "subnet-ab9004dc", 16 | "vpc_id": "vpc-3dd4bc58" 17 | } 18 | ], 19 | "provisioners": [ 20 | { 21 | "type": "shell", 22 | "scripts": [ 23 | "infra/packer.sh" 24 | ] 25 | } 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /_del_supervisor/README.md: -------------------------------------------------------------------------------- 1 | # docker-centos6.8-supervisor 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`centos:6.8`](https://hub.docker.com/r/library/centos/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd supervisor3.3.0 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/supervisor ./tag 19 | 20 | # run 21 | docker run -it \ 22 | --name supervisor \ 23 | --hostname supervisor \ 24 | -p 2222:22 \ 25 | idoall/supervisor \ 26 | /bin/bash 27 | 28 | # view supervisor version 29 | docker exec -it supervisor supervisord -v 30 | 31 | # ssh user:work password:123456 32 | ssh work@ -p 2222 33 | 34 | ``` -------------------------------------------------------------------------------- /_del_supervisor/_app/supervisord/conf.d/sshd.ini: -------------------------------------------------------------------------------- 1 | [program:sshd] 2 | directory = /usr/sbin/ ; 程序的启动目录 3 | command = /usr/sbin/sshd ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 3 ; 启动失败自动重试次数,默认是 3 8 | user = root ; 用哪个用户启动 9 | redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_sshd.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 16 | 17 | -------------------------------------------------------------------------------- /_del_supervisor/meld3-1.0.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_supervisor/meld3-1.0.2.tar.gz -------------------------------------------------------------------------------- /_del_supervisor/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # 启动 supervisord 5 | service supervisord start 6 | # 启动 sshd 7 | service sshd start 8 | 9 | # outpu log 10 | tail -F /home/work/_logs/supervisord/supervisord.log 11 | -------------------------------------------------------------------------------- /_del_supervisor/supervisor-3.3.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_supervisor/supervisor-3.3.0.tar.gz -------------------------------------------------------------------------------- /_del_walle-web/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Ubuntu 6 | 7 | - [https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-walle-web/](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-walle-web/) -------------------------------------------------------------------------------- /_del_walle-web/_app/supervisord/conf.d/walle-web.ini: -------------------------------------------------------------------------------- 1 | [program:walle-web] 2 | directory = /home/work/_script/ ; 程序的启动目录 3 | command = /home/work/_script/walle-web-init.sh ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 10 ; 启动失败自动重试次数,默认是 30 8 | user = root ; 用哪个用户启动 9 | redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_walle_web.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 16 | 17 | -------------------------------------------------------------------------------- /_del_walle-web/composer1.2.4.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_walle-web/composer1.2.4.phar -------------------------------------------------------------------------------- /_del_walle-web/docker-compose-stack.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | # mysql 4 | mysql: 5 | image: "idoall/mysql:5.6" 6 | hostname: mysql 7 | ports: 8 | - "3306" 9 | networks: 10 | - walle-idoall-org 11 | environment: 12 | - MYSQL_ROOT_PASSWORD=123456 13 | - MYSQL_DATABASE=walle-web 14 | - MYSQL_USER=idoall 15 | - MYSQL_PASSWORD=123456 16 | depends_on: 17 | - memcached 18 | deploy: 19 | replicas: 1 20 | restart_policy: 21 | condition: on-failure 22 | # walle 23 | walle: 24 | image: "idoall/walle-web:1.9" 25 | hostname: walle 26 | ports: 27 | - "80:80" 28 | - "2222:22" 29 | networks: 30 | - walle-idoall-org 31 | depends_on: 32 | - mysql 33 | deploy: 34 | replicas: 1 35 | restart_policy: 36 | condition: on-failure 37 | # 统一网络设置 38 | networks: 39 | walle-idoall-org: 40 | driver: overlay -------------------------------------------------------------------------------- /_del_walle-web/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | walle: 4 | image: "idoall/walle-web:1.9" 5 | ports: 6 | - "80:80" 7 | - "2222:22" 8 | networks: 9 | - tsy-fored 10 | - tsy-backend 11 | depends_on: 12 | - mysql 13 | # mysql 14 | mysql: 15 | image: "idoall/mysql:5.6" 16 | hostname: mysql 17 | ports: 18 | - "3306" 19 | networks: 20 | - tsy-backend 21 | volumes: 22 | - ./walle-web-db:/home/work/_app/mysql/data/ 23 | environment: 24 | - MYSQL_ROOT_PASSWORD=123456 25 | - MYSQL_DATABASE=walle-web 26 | deploy: 27 | replicas: 1 28 | restart_policy: 29 | condition: on-failure 30 | # 统一网络设置 31 | networks: 32 | tsy-fored: 33 | driver: overlay 34 | tsy-backend: 35 | driver: overlay -------------------------------------------------------------------------------- /_del_walle-web/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | # 启动 supervisord 6 | service supervisord start 7 | # 启动 sshd 8 | service sshd start 9 | # 启动 nginx 10 | /home/work/_app/nginx/sbin/nginx 11 | # 启动 php-fpm 12 | service php-fpm start 13 | 14 | # outpu log 15 | tail -F /home/work/_logs/supervisord/supervisord.log \ 16 | /home/work/_logs/nginx/walle-web.access.log \ 17 | /home/work/_logs/nginx/walle-web.error.log \ 18 | /home/work/_logs/nginx/error.log \ 19 | /home/work/_logs/php/fpm-php.slow.log \ 20 | /home/work/_logs/php/php-fpm.error.log -------------------------------------------------------------------------------- /_del_walle-web/walle-web-1.2.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/_del_walle-web/walle-web-1.2.0.tar.gz -------------------------------------------------------------------------------- /_del_walle-web/walleweb.dab: -------------------------------------------------------------------------------- 1 | { 2 | "Services": { 3 | "mysql": { 4 | "Env": [ 5 | "MYSQL_ROOT_PASSWORD=123456", 6 | "MYSQL_DATABASE=walle-web" 7 | ], 8 | "Image": "idoall/mysql@sha256:970d60d1f4dbfca1fac8ee93dd3683c1ee59d1e41f8c834b015fa510624227f9", 9 | "Networks": [ 10 | "tsy-backend" 11 | ], 12 | "Ports": [ 13 | { 14 | "Port": 3306, 15 | "Protocol": "tcp" 16 | } 17 | ] 18 | }, 19 | "walle": { 20 | "Image": "idoall/walle-web@sha256:cc9dc930384c95803813b23c9877ea80715115a84490e3a6485e179f1658d29d", 21 | "Networks": [ 22 | "tsy-backend", 23 | "tsy-fored" 24 | ], 25 | "Ports": [ 26 | { 27 | "Port": 80, 28 | "Protocol": "tcp" 29 | }, 30 | { 31 | "Port": 22, 32 | "Protocol": "tcp" 33 | } 34 | ] 35 | } 36 | }, 37 | "Version": "0.1" 38 | } -------------------------------------------------------------------------------- /_del_wordpress/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 302 4 | 5 | # Supported Ubuntu 6 | 7 | - [https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-wordpress/](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php7.1.9-wordpress/) -------------------------------------------------------------------------------- /_del_wordpress/README.md.bak: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/supervisor`](https://hub.docker.com/r/idoall/supervisor/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | 10 | - [`4.8.1-php7.1.9`(*4.8.1-php7.1.9/Dockerfile*)](https://github.com/idoall/docker/blob/master/wordpress/4.8.1-php7.1.9/Dockerfile) 11 | 12 | - [`4.8.1-php5.6`(*4.8.1-php5.6/Dockerfile*)](https://github.com/idoall/docker/blob/master/wordpress/php5.6/Dockerfile) 13 | 14 | ​ 15 | 16 | -------------------------------------------------------------------------------- /_del_wordpress/php5.6.29/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 启动 supervisord 4 | service supervisord start 5 | # 启动 sshd 6 | service sshd start 7 | # 启动 nginx 8 | /home/work/_app/nginx/sbin/nginx 9 | # 启动 php-fpm 10 | service php-fpm start 11 | 12 | #初始化wordpress 13 | sh /home/work/_script/wordpress-init.sh & 14 | 15 | # outpu log 16 | tail -F /home/work/_logs/supervisord/supervisord.log \ 17 | /home/work/_logs/nginx/default.access.log \ 18 | /home/work/_logs/nginx/default.error.log \ 19 | /home/work/_logs/nginx/error.log \ 20 | /home/work/_logs/php/fpm-php.slow.log \ 21 | /home/work/_logs/php/php-fpm.error.log 22 | -------------------------------------------------------------------------------- /_del_wordpress/php7.1.9/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 启动 supervisord 4 | service supervisord start 5 | # 启动 sshd 6 | service sshd start 7 | # 启动 nginx 8 | /home/work/_app/nginx/sbin/nginx 9 | # 启动 php-fpm 10 | /home/work/_app/php7.1.9/sbin/php-fpm 11 | 12 | #初始化wordpress 13 | sh /home/work/_script/wordpress-init.sh & 14 | 15 | # outpu log 16 | tail -F /home/work/_logs/supervisord/supervisord.log \ 17 | /home/work/_logs/nginx/default.access.log \ 18 | /home/work/_logs/nginx/default.error.log \ 19 | /home/work/_logs/nginx/error.log \ 20 | /home/work/_logs/php/fpm-php.slow.log \ 21 | /home/work/_logs/php/php-fpm.error.log \ 22 | /home/work/_logs/php/php.www.access.log 23 | -------------------------------------------------------------------------------- /alpine/3.10.2/README.md: -------------------------------------------------------------------------------- 1 | # Alpine/3.10.2 2 | 3 | 增加 supervisord 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd alpine/3.10.2 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/alpine:3.10.2 . 16 | ``` 17 | 18 | ## 安装 19 | 20 | ```bash 21 | # run 22 | docker run -it \ 23 | --rm \ 24 | --name alpine \ 25 | idoall/alpine:3.10.2 date 26 | # Mon Apr 15 18:08:08 CST 2019 27 | 28 | # run 29 | docker run -it \ 30 | --rm \ 31 | --name alpine \ 32 | --hostname alpine \ 33 | idoall/alpine:3.10.2 34 | 35 | 36 | # view supervisor version 37 | docker exec -it alpine supervisord -v 38 | 39 | 40 | # access the contain 41 | docker exec -it alpine /bin/bash 42 | ``` 43 | -------------------------------------------------------------------------------- /alpine/3.10.2/files/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/alpine/3.10.2/files/.DS_Store -------------------------------------------------------------------------------- /alpine/3.10.2/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /alpine/3.10.2/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /alpine/3.10.2/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | -------------------------------------------------------------------------------- /alpine/3.11.3/mshk/README.md: -------------------------------------------------------------------------------- 1 | # alpine:3.11.3-mshk 2 | 3 | 增加 supervisord 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd alpine/3.11.3/mshk 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/alpine:3.11.3-mshk . 16 | ``` 17 | 18 | ## 安装 19 | 20 | ```bash 21 | # run 22 | docker run -it \ 23 | --rm \ 24 | --name alpine \ 25 | idoall/alpine:3.11.3-mshk date 26 | # Mon Apr 15 18:08:08 CST 2019 27 | 28 | # run 29 | docker run -it \ 30 | --rm \ 31 | --name alpine \ 32 | --hostname alpine \ 33 | idoall/alpine:3.11.3-mshk 34 | 35 | 36 | # view supervisor version 37 | docker exec -it alpine supervisord -v 38 | 39 | 40 | # access the contain 41 | docker exec -it alpine /bin/bash 42 | ``` 43 | -------------------------------------------------------------------------------- /alpine/3.11.3/mshk/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /alpine/3.11.3/mshk/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /alpine/3.11.3/mshk/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | -------------------------------------------------------------------------------- /alpine/3.11.3/source/README.md: -------------------------------------------------------------------------------- 1 | # alpine:3.11.3-source 2 | 3 | 增加 supervisord 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd alpine/3.11.3/source 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/alpine:3.11.3-source . 16 | ``` 17 | 18 | ## 安装 19 | 20 | ```bash 21 | # run 22 | docker run -it \ 23 | --rm \ 24 | --name alpine \ 25 | idoall/alpine:3.11.3-source date 26 | # Mon Apr 15 18:08:08 CST 2019 27 | 28 | # run 29 | docker run -it \ 30 | --rm \ 31 | --name alpine \ 32 | --hostname alpine \ 33 | idoall/alpine:3.11.3-source 34 | 35 | 36 | 37 | # access the contain 38 | docker exec -it alpine /bin/bash 39 | ``` 40 | -------------------------------------------------------------------------------- /alpine/3.18.3/source/README.md: -------------------------------------------------------------------------------- 1 | # alpine:3.18.3-source 2 | 3 | 增加 supervisord 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd alpine/3.18.3/source 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/alpine:3.18.3-source . 16 | ``` 17 | 18 | ## 安装 19 | 20 | ```bash 21 | # run 22 | docker run -it \ 23 | --rm \ 24 | --name alpine \ 25 | idoall/alpine:3.18.3-source date 26 | # Mon Apr 15 18:08:08 CST 2019 27 | 28 | # run 29 | docker run -it \ 30 | --rm \ 31 | --name alpine \ 32 | --hostname alpine \ 33 | idoall/alpine:3.18.3-source 34 | 35 | 36 | 37 | # access the contain 38 | docker exec -it alpine /bin/bash 39 | ``` 40 | -------------------------------------------------------------------------------- /alpine/3.9.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.9.3 2 | MAINTAINER lion 3 | # ----------------------------------------------------------------------------- 4 | # 将系统时间改为上海时间 5 | # ----------------------------------------------------------------------------- 6 | RUN apk add tzdata \ 7 | && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ 8 | && echo "Asia/Shanghai" > /etc/timezone 9 | # ----------------------------------------------------------------------------- 10 | # 添加 ca 证书认证 11 | # ----------------------------------------------------------------------------- 12 | RUN apk add ca-certificates \ 13 | && update-ca-certificates \ 14 | && rm -rf /var/cache/apk/* 15 | -------------------------------------------------------------------------------- /alpine/3.9.3/README.md: -------------------------------------------------------------------------------- 1 | # Alpine/3.9.3 2 | 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd alpine/3.9.3 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/alpine:3.9.3 . 16 | ``` 17 | 18 | ## 安装 19 | 20 | ### 单节点安装 21 | 22 | ```bash 23 | # run 24 | docker run -it \ 25 | --rm \ 26 | --name alpine \ 27 | idoall/alpine:3.9.3 date 28 | # Mon Apr 15 18:08:08 CST 2019 29 | 30 | 31 | # access the contain 32 | docker run -it \ 33 | --rm \ 34 | --name alpine \ 35 | idoall/alpine:3.9.3 /bin/ash 36 | ``` 37 | -------------------------------------------------------------------------------- /centos/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/centos/.DS_Store -------------------------------------------------------------------------------- /centos/6.8/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | # Docker-Centos/6.8 6 | 7 | 8 | This repository contains the sources for the following [docker](https://docker.io) base images: 9 | - [`centos:6.8`](https://hub.docker.com/r/library/centos/) 10 | 11 | 12 | ## Developing 13 | 14 | ```bash 15 | # Pull image 16 | git clone https://github.com/idoall/docker.git 17 | cd centos/6.8 18 | 19 | # hack hack hack 20 | 21 | # build 22 | docker build -t idoall/centos:6.8 . 23 | 24 | # run 25 | docker run -it \ 26 | --rm \ 27 | --name centos \ 28 | --hostname centos \ 29 | idoall/centos:6.8 30 | 31 | 32 | # view supervisor version 33 | docker exec -it centos supervisord -v 34 | 35 | 36 | # access the contain 37 | docker exec -it centos /bin/bash 38 | 39 | ``` -------------------------------------------------------------------------------- /centos/6.8/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /centos/6.8/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /centos/6.8/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | -------------------------------------------------------------------------------- /centos/6.8/files/usr/src/_axel/axel-2.4-1.el6.rf.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/centos/6.8/files/usr/src/_axel/axel-2.4-1.el6.rf.x86_64.rpm -------------------------------------------------------------------------------- /centos/6.8/files/usr/src/_axel/axelget.conf: -------------------------------------------------------------------------------- 1 | [main] 2 | enabled=1 3 | onlyhttp=1 4 | enablesize=54000 5 | cleanOnException=1 6 | -------------------------------------------------------------------------------- /centos/7.6/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/centos/7.6/.DS_Store -------------------------------------------------------------------------------- /centos/7.6/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | # Docker-Centos/7.6 6 | 7 | 8 | This repository contains the sources for the following [docker](https://docker.io) base images: 9 | - [`centos:7.6`](https://hub.docker.com/_/centos) 10 | 11 | 12 | ## Developing 13 | 14 | ```bash 15 | # Pull image 16 | git clone https://github.com/idoall/docker.git 17 | cd centos/7.6 18 | 19 | # hack hack hack 20 | 21 | # build 22 | docker build -t idoall/centos:7.6 . 23 | 24 | # run 25 | docker run -it \ 26 | --rm \ 27 | --name centos \ 28 | --hostname centos \ 29 | idoall/centos:7.6 30 | 31 | 32 | # view supervisor version 33 | docker exec -it centos supervisord -v 34 | 35 | 36 | # access the contain 37 | docker exec -it centos /bin/bash 38 | 39 | ``` -------------------------------------------------------------------------------- /centos/7.6/files/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/centos/7.6/files/.DS_Store -------------------------------------------------------------------------------- /centos/7.6/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /centos/7.6/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /centos/7.6/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | -------------------------------------------------------------------------------- /centos/7.6/files/usr/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/centos/7.6/files/usr/.DS_Store -------------------------------------------------------------------------------- /centos/7.6/files/usr/src/epel-release-7-11.noarch.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/centos/7.6/files/usr/src/epel-release-7-11.noarch.rpm -------------------------------------------------------------------------------- /centos/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`centos`](https://hub.docker.com/r/library/centos/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`6.8`(*6.8/Dockerfile*)](https://github.com/idoall/docker/blob/master/centos/6.8/Dockerfile) 10 | - [`7.6`(*7.6/Dockerfile*)](https://github.com/idoall/docker/blob/master/centos/7.6/Dockerfile) 11 | 12 | ​ 13 | 14 | ## Developing 15 | 16 | ```bash 17 | 18 | # run 19 | docker run -it \ 20 | --rm \ 21 | --name centos \ 22 | --hostname centos \ 23 | idoall/centos: 24 | 25 | 26 | # view supervisor version 27 | docker exec -it centos supervisord -v 28 | 29 | 30 | # access the contain 31 | docker exec -it centos /bin/bash 32 | 33 | ``` -------------------------------------------------------------------------------- /centos6.8-golang/1.4/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | Docker-Centos/6.8-golang/1.4 6 | ============= 7 | 8 | 9 | This repository contains the sources for the following [docker](https://docker.io) base images: 10 | - [`idoall/centos:6.8`](https://hub.docker.com/r/idoall/centos/) 11 | 12 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 13 | 14 | ## Developing 15 | 16 | ```bash 17 | # Pull image 18 | git clone https://github.com/idoall/docker.git 19 | cd centos6.8-golang/1.4 20 | 21 | # hack hack hack 22 | 23 | # Build 24 | docker build -t idoall/centos6.8-golang:1.4 . 25 | 26 | # view version 27 | docker run -it --name=golang --rm idoall/centos6.8-golang:1.4 go version 28 | 29 | # Run 30 | docker run -d --name=golang idoall/centos6.8-golang:1.4 31 | 32 | # access the contain 33 | docker exec -it golang /bin/bash 34 | ``` 35 | -------------------------------------------------------------------------------- /centos6.8-golang/1.7.4/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | Docker-Centos/6.8-golang/1.7.4 6 | ============= 7 | 8 | 9 | This repository contains the sources for the following [docker](https://docker.io) base images: 10 | - [`idoall/centos:6.8`](https://hub.docker.com/r/idoall/centos/) 11 | 12 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 13 | 14 | ## Developing 15 | 16 | ```bash 17 | # Pull image 18 | git clone https://github.com/idoall/docker.git 19 | cd centos6.8-golang/1.7.4 20 | 21 | # hack hack hack 22 | 23 | # Build 24 | docker build -t idoall/centos6.8-golang:1.7.4 . 25 | 26 | # view version 27 | docker run -it --name=golang --rm idoall/centos6.8-golang:1.7.4 go version 28 | 29 | # Run 30 | docker run -d --name=golang idoall/centos6.8-golang:1.7.4 31 | 32 | # access the contain 33 | docker exec -it golang /bin/bash 34 | ``` 35 | -------------------------------------------------------------------------------- /centos6.8-golang/1.9/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | Docker-Centos/6.8-golang/1.9 6 | ============= 7 | 8 | 9 | This repository contains the sources for the following [docker](https://docker.io) base images: 10 | - [`idoall/centos:6.8`](https://hub.docker.com/r/idoall/centos/) 11 | 12 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 13 | 14 | ## Developing 15 | 16 | ```bash 17 | # Pull image 18 | git clone https://github.com/idoall/docker.git 19 | cd centos6.8-golang/1.9 20 | 21 | # hack hack hack 22 | 23 | # Build 24 | docker build -t idoall/centos6.8-golang:1.9 . 25 | 26 | # view version 27 | docker run -it --name=golang --rm idoall/centos6.8-golang:1.9 go version 28 | 29 | # Run 30 | docker run -d --name=golang idoall/centos6.8-golang:1.9 31 | 32 | # access the contain 33 | docker exec -it golang /bin/bash 34 | ``` 35 | -------------------------------------------------------------------------------- /centos6.8-golang/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/centos:6.8`](https://hub.docker.com/r/idoall/centos6.8/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`1.9`(*1.9/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu16.04-golang/1.9/Dockerfile) 10 | 11 | - [`1.7.4`(*1.7.4/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu16.04-golang/1.7.4/Dockerfile) 12 | 13 | - [`1.4.3`(*1.4.3/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu16.04-golang/1.4/Dockerfile) 14 | 15 | ​ 16 | 17 | ## Developing 18 | 19 | ```bash 20 | 21 | # view version 22 | docker run -it --name=golang --rm idoall/centos6.8-golang: go version 23 | 24 | # Run 25 | docker run -d --name=golang idoall/centos6.8-golang: 26 | 27 | # access the contain 28 | docker exec -it golang /bin/bash 29 | ``` 30 | -------------------------------------------------------------------------------- /centos6.8-sshd/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | # Docker-SSHD-Centos/6.8 6 | 7 | 8 | This repository contains the sources for the following [docker](https://docker.io) base images: 9 | - [`centos:6.8`](https://hub.docker.com/r/idoall/centos/) 10 | 11 | 12 | ## Developing 13 | 14 | ```bash 15 | # Pull image 16 | git clone https://github.com/idoall/docker.git 17 | cd centos6.8-sshd 18 | 19 | # hack hack hack 20 | 21 | # build 22 | docker build -t idoall/centos6.8-sshd:latest . 23 | 24 | # run 25 | docker run -it \ 26 | --rm \ 27 | --name sshd \ 28 | --hostname sshd \ 29 | -p 2222:2222 \ 30 | idoall/centos6.8-sshd:latest 31 | 32 | 33 | # access the contain 34 | docker exec -it sshd /bin/bash 35 | 36 | 37 | # ssh user:work password:123456 38 | ssh work@ -p 2222 39 | 40 | ``` -------------------------------------------------------------------------------- /centos6.8-sshd/files/etc/_sshd/sshd.ini: -------------------------------------------------------------------------------- 1 | [program:sshd] 2 | directory = /usr/sbin/ ; 程序的启动目录 3 | command = /usr/sbin/sshd -D ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 3 ; 启动失败自动重试次数,默认是 3 8 | user = root ; 用哪个用户启动 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_sshd.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /centos6.8-sshd/files/hooks/log.after/01_sshd_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord_sshd.log -------------------------------------------------------------------------------- /centos6.8-sshd/files/hooks/supervisord-pre.d/01_sshd_setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # As /etc/ssh is mounted from a persistent volume, need to copy sshd_config there 5 | cp -f /sshd_config /etc/ssh 6 | echo "copying sshd_config" 7 | 8 | 9 | cp -f /etc/_sshd/sshd.ini /home/work/_app/supervisord/conf.d/ 10 | echo "copying supervisord/conf.d/sshd.ini" -------------------------------------------------------------------------------- /centos6.8-tengine/2.2.0/files/etc/_supervisord/nginx.ini: -------------------------------------------------------------------------------- 1 | [program:nginx] 2 | command = /home/work/_app/nginx/sbin/nginx ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | stdout_events_enabled=true 10 | stderr_events_enabled=true 11 | 12 | ; redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 13 | ; stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 14 | ; stdout_logfile_backups = 20 ; stdout 日志文件备份数 15 | 16 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 17 | stdout_logfile = /dev/stdout 18 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 19 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 20 | 21 | -------------------------------------------------------------------------------- /centos6.8-tengine/2.2.0/files/hooks/entrypoint-pre.d/01_nginx_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf" 9 | mkdir -p /home/work/_app/nginx/conf/conf.d/ 10 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /centos6.8-tengine/2.2.0/files/hooks/entrypoint-pre.d/02_nginx_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/nginx.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /centos6.8-tengine/2.2.0/files/hooks/log.after/01_nginx_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/nginx/default.access.log 2 | /home/work/_logs/nginx/default.error.log 3 | /home/work/_logs/nginx/error.log -------------------------------------------------------------------------------- /centos6.8-tengine2.2.0-php/7.1.9/files/etc/_supervisord/php.ini: -------------------------------------------------------------------------------- 1 | [program:php7-fpm] 2 | command = /home/work/_app/php7.1.9/sbin/php-fpm -F ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 9 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 10 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 11 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 12 | stdout_logfile = /home/work/_logs/supervisord/supervisord_php.log 13 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 14 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /centos6.8-tengine2.2.0-php/7.1.9/files/hooks/entrypoint-pre.d/32_php_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/php.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /centos6.8-tengine2.2.0-php/7.1.9/files/hooks/entrypoint-pre.d/33_nginx_php_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf(php)" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf(php)" 9 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /centos6.8-tengine2.2.0-php/7.1.9/files/hooks/log.after/01_php_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/php/php-fpm.error.log 2 | /home/work/_logs/php/fpm-php.slow.log 3 | /home/work/_logs/php/php.access.log 4 | /home/work/_logs/supervisord/supervisord_php.log -------------------------------------------------------------------------------- /centos7.6-golang/1.12.9/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | Docker-Centos/7.6-golang/1.12.9 6 | ============= 7 | 8 | 9 | This repository contains the sources for the following [docker](https://docker.io) base images: 10 | - [`idoall/centos:7.6`](https://hub.docker.com/r/idoall/centos/) 11 | 12 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 13 | 14 | ## Developing 15 | 16 | ```bash 17 | # Pull image 18 | git clone https://github.com/idoall/docker.git 19 | cd centos7.6-golang/1.12.9 20 | 21 | # hack hack hack 22 | 23 | # Build 24 | docker build -t idoall/centos7.6-golang:1.12.9 . 25 | 26 | # view version 27 | docker run -it --name=golang --rm idoall/centos7.6-golang:1.12.9 go version 28 | 29 | # Run 30 | docker run -d --name=golang idoall/centos7.6-golang:1.12.9 31 | 32 | # access the contain 33 | docker exec -it golang /bin/bash 34 | ``` 35 | -------------------------------------------------------------------------------- /centos7.6-golang/1.4/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | Docker-Centos/6.8-golang/1.4 6 | ============= 7 | 8 | 9 | This repository contains the sources for the following [docker](https://docker.io) base images: 10 | - [`idoall/centos:7.6`](https://hub.docker.com/r/idoall/centos/) 11 | 12 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 13 | 14 | ## Developing 15 | 16 | ```bash 17 | # Pull image 18 | git clone https://github.com/idoall/docker.git 19 | cd centos7.6-golang/1.4 20 | 21 | # hack hack hack 22 | 23 | # Build 24 | docker build -t idoall/centos7.6-golang:1.4 . 25 | 26 | # view version 27 | docker run -it --name=golang --rm idoall/centos7.6-golang:1.4 go version 28 | 29 | # Run 30 | docker run -d --name=golang idoall/centos7.6-golang:1.4 31 | 32 | # access the contain 33 | docker exec -it golang /bin/bash 34 | ``` 35 | -------------------------------------------------------------------------------- /centos7.6-golang/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/centos:7.6`](https://hub.docker.com/r/idoall/centos7.6/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`1.12.9`(*1.12.9/Dockerfile*)](https://github.com/idoall/docker/blob/master/centos7.6-golang/1.12.9/Dockerfile) 10 | 11 | - [`1.4`(*1.4/Dockerfile*)](https://github.com/idoall/docker/blob/master/centos7.6-golang/1.4/Dockerfile) 12 | 13 | ​ 14 | 15 | ## Developing 16 | 17 | ```bash 18 | 19 | # view version 20 | docker run -it --name=golang --rm idoall/centos7.6-golang: go version 21 | 22 | # Run 23 | docker run -d --name=golang idoall/centos7.6-golang: 24 | 25 | # access the contain 26 | docker exec -it golang /bin/bash 27 | ``` 28 | -------------------------------------------------------------------------------- /centos7.6-nginx/1.14.2/files/etc/_supervisord/nginx.ini: -------------------------------------------------------------------------------- 1 | [program:nginx] 2 | command = /home/work/_app/nginx/sbin/nginx ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | stdout_events_enabled=true 10 | stderr_events_enabled=true 11 | 12 | ; redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 13 | ; stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 14 | ; stdout_logfile_backups = 20 ; stdout 日志文件备份数 15 | 16 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 17 | stdout_logfile = /dev/stdout 18 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 19 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 20 | 21 | -------------------------------------------------------------------------------- /centos7.6-nginx/1.14.2/files/hooks/entrypoint-pre.d/01_nginx_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf" 9 | mkdir -p /home/work/_app/nginx/conf/conf.d/ 10 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /centos7.6-nginx/1.14.2/files/hooks/entrypoint-pre.d/02_nginx_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/nginx.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /centos7.6-nginx/1.14.2/files/hooks/log.after/01_nginx_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/nginx/default.access.log 2 | /home/work/_logs/nginx/default.error.log 3 | /home/work/_logs/nginx/error.log -------------------------------------------------------------------------------- /docker/22.06-rc-dind/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM docker:22.06-rc-dind 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /docker/dind/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM docker:dind 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /echoserver/1.10/Dockerfile: -------------------------------------------------------------------------------- 1 | 2 | FROM gcr.io/kubernetes-e2e-test-images/echoserver:2.1 3 | MAINTAINER lion 4 | 5 | 6 | # ----------------------------------------------------------------------------- 7 | # 映射端口 8 | # ----------------------------------------------------------------------------- 9 | EXPOSE 8080 -------------------------------------------------------------------------------- /echoserver/1.10/README.md: -------------------------------------------------------------------------------- 1 | # ElasticSearch/6.7 2 | 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd echoserver/1.10 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/echoserver:1.10 . 16 | ``` 17 | -------------------------------------------------------------------------------- /elasticsearch/5.6.16/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM elasticsearch:5.6.16 2 | MAINTAINER lion 3 | 4 | -------------------------------------------------------------------------------- /elasticsearch/6.7/Dockerfile: -------------------------------------------------------------------------------- 1 | # Elasticsearch 6.7.0 2 | 3 | # This image re-bundles the Docker image from the upstream provider, Elastic. 4 | FROM docker.elastic.co/elasticsearch/elasticsearch:6.7.0@sha256:58ae94b778f880cf90433404a3524324feeafedebf5c85f6639a9c0f2f2b070b 5 | 6 | # The upstream image was built by: 7 | # https://github.com/elastic/dockerfiles/tree/v6.7.0/elasticsearch 8 | 9 | # For a full list of supported images and tags visit https://www.docker.elastic.co 10 | 11 | # For Elasticsearch documentation visit https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html 12 | 13 | # See https://github.com/docker-library/official-images/pull/4916 for more details. -------------------------------------------------------------------------------- /elasticsearch/7.0/Dockerfile: -------------------------------------------------------------------------------- 1 | # Elasticsearch 7.0.0 2 | 3 | # This image re-bundles the Docker image from the upstream provider, Elastic. 4 | FROM docker.elastic.co/elasticsearch/elasticsearch:7.0.0@sha256:3ecdbe97335a39d71da60e0b935b589c43e4aefca7776ce8877e4d9f915e66ba 5 | 6 | # The upstream image was built by: 7 | # https://github.com/elastic/dockerfiles/tree/v7.0.0/elasticsearch 8 | 9 | # For a full list of supported images and tags visit https://www.docker.elastic.co 10 | 11 | # For Elasticsearch documentation visit https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html 12 | 13 | # See https://github.com/docker-library/official-images/pull/4916 for more details. -------------------------------------------------------------------------------- /expressvpn/3.17/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.17/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.17/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.17 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.17/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.17/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.19/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.19/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.19/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.19 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.19/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.19/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.21/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.21/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.21/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.21 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.21/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.21/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.22/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.22/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.22/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.22 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.22/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.22/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.23/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.23/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.23/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.23 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.23/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.23/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.24/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.24/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.24/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.24 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.24/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.24/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.27/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.27/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.27/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.24 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.27/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.27/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.29/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.29/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.29/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.24 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.29/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.29/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /expressvpn/3.32/checkExpressVPNStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_results=`expressvpn status` 4 | time=$(date "+%Y-%m-%d %H:%M:%S") 5 | if [[ $check_results =~ "Unable to connect" ]] 6 | then 7 | echo "[$time]Unable to connect.. " 8 | expressvpn connect 9 | elif [[ -z $check_results ]] 10 | then 11 | echo "[$time]空.. " 12 | expressvpn connect 13 | elif [[ $check_results =~ "Reconnecting" ]] 14 | then 15 | echo "[$time]Reconnecting.. " 16 | elif [[ $check_results =~ "Not connected" ]] 17 | then 18 | echo "[$time]Not connected.. " 19 | expressvpn connect 20 | elif [[ $check_results =~ "Not Activated" ]] 21 | then 22 | echo "[$time]Not Activated.. " 23 | /usr/bin/expect /tmp/expressvpnActivate.sh 24 | else 25 | connectStr=`echo $check_results | sed -n '1p'` 26 | echo "[$time]$connectStr" 27 | fi -------------------------------------------------------------------------------- /expressvpn/3.32/crontab: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | */1 * * * * /home/work/crontab/checkExpressVPNStatus.sh > /proc/1/fd/1 2>&1 3 | -------------------------------------------------------------------------------- /expressvpn/3.32/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | expressvpn: 5 | container_name: expressvpn 6 | image: idoall/expressvpn:3.24 7 | environment: 8 | - ACTIVATION_CODE=your-activation-code 9 | - SERVER=smart 10 | - PREFERRED_PROTOCOL=auto 11 | - LIGHTWAY_CIPHER=auto 12 | cap_add: 13 | - NET_ADMIN 14 | devices: 15 | - /dev/net/tun 16 | stdin_open: true 17 | command: /bin/bash 18 | privileged: true 19 | restart: unless-stopped 20 | ports: 21 | - "80:80" 22 | # ports of other containers that use the vpn (to access them locally) 23 | 24 | whoami: 25 | image: idoall/whoami 26 | container_name: whoami 27 | network_mode: service:expressvpn 28 | depends_on: 29 | - expressvpn -------------------------------------------------------------------------------- /expressvpn/3.32/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | cp /etc/resolv.conf /tmp/resolv.conf 4 | su -c 'umount /etc/resolv.conf' 5 | cp /tmp/resolv.conf /etc/resolv.conf 6 | sed -i 's/DAEMON_ARGS=.*/DAEMON_ARGS=""/' /etc/init.d/expressvpn 7 | sed -i "s/ACTIVATION_CODE/${ACTIVATION_CODE}/" /tmp/expressvpnActivate.sh 8 | crontab /home/work/crontab/crontab 9 | service rsyslog start 10 | service cron start 11 | service expressvpn restart 12 | /usr/bin/expect /tmp/expressvpnActivate.sh 13 | expressvpn preferences set auto_connect true 14 | expressvpn preferences set preferred_protocol $PREFERRED_PROTOCOL 15 | expressvpn preferences set lightway_cipher $LIGHTWAY_CIPHER 16 | expressvpn connect $SERVER 17 | service supervisor start 18 | exec "$@" -------------------------------------------------------------------------------- /expressvpn/3.32/expressvpnActivate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | spawn expressvpn activate 3 | expect "code:" 4 | send "ACTIVATION_CODE\r" 5 | expect "information." 6 | send "n\r" 7 | expect eof -------------------------------------------------------------------------------- /flume/1.9.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:latest 2 | MAINTAINER lion 3 | 4 | ARG FLUME_VERSION=1.9.0 5 | 6 | RUN yum update -y && \ 7 | yum install -y java-1.8.0-openjdk && yum clean all && rm -rf /var/cache/yum && \ 8 | curl -L http://archive.apache.org/dist/flume/${FLUME_VERSION}/apache-flume-${FLUME_VERSION}-bin.tar.gz | tar xz && \ 9 | mv apache-flume-${FLUME_VERSION}-bin apache-flume && \ 10 | cp /apache-flume/conf/flume-conf.properties.template /apache-flume/conf/flume-conf.properties && \ 11 | yum clean all 12 | 13 | ENV JAVA_HOME=/usr 14 | ENV AGENT=agent 15 | 16 | WORKDIR /apache-flume 17 | 18 | CMD [ "sh","-c", "./bin/flume-ng agent -n ${AGENT} -c conf -f conf/flume-conf.properties" -------------------------------------------------------------------------------- /flume/1.9.0/README.md: -------------------------------------------------------------------------------- 1 | # flume:1.9.0 2 | 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd flume/1.9.0 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/flume:1.9.0 . 16 | ``` 17 | -------------------------------------------------------------------------------- /frp/0.56.0/.gitignore: -------------------------------------------------------------------------------- 1 | docker -------------------------------------------------------------------------------- /frp/0.56.0/Dockerfile-for-frpc: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM idoall/golang:1.22.0 as building 8 | 9 | ENV FRP_VERSION v0.56.0 10 | 11 | RUN git clone --depth 1 --branch $FRP_VERSION https://github.com/fatedier/frp 12 | RUN cd frp \ 13 | && make frpc 14 | 15 | FROM idoall/alpine:3.18.3-source 16 | 17 | COPY --from=building /go/frp/bin/frpc /usr/bin/frpc 18 | COPY --from=building /go/frp/conf/legacy/frpc_legacy_full.ini /frpc.ini 19 | 20 | ENTRYPOINT ["/usr/bin/frpc","-c","/frpc.ini"] -------------------------------------------------------------------------------- /frp/0.56.0/Dockerfile-for-frps: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM idoall/golang:1.22.0 as building 8 | 9 | ENV FRP_VERSION v0.56.0 10 | 11 | RUN git clone --depth 1 --branch $FRP_VERSION https://github.com/fatedier/frp 12 | RUN cd frp \ 13 | && make frps 14 | 15 | FROM idoall/alpine:3.18.3-source 16 | 17 | COPY --from=building /go/frp/bin/frps /usr/bin/frps 18 | COPY --from=building /go/frp/conf/legacy/frps_legacy_full.ini /frps.ini 19 | 20 | ENTRYPOINT ["/usr/bin/frps","-c","/frps.ini"] -------------------------------------------------------------------------------- /frp/0.56.0/README.md: -------------------------------------------------------------------------------- 1 | golang 1.22.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd frp/0.56.0 10 | 11 | # hack hack hack 12 | 13 | # Build frps 14 | docker build -f Dockerfile-for-frps -t idoall/frps:0.56.0 . 15 | 16 | # Build frpc 17 | docker build -f Dockerfile-for-frpc -t idoall/frpc:0.56.0 . 18 | 19 | 20 | # view golang version 21 | docker run -it \ 22 | --rm \ 23 | --name frps \ 24 | idoall/frps:0.56.0 \ 25 | /usr/bin/frps --version 26 | 27 | 28 | # run frps 29 | docker run -it \ 30 | --rm \ 31 | --name frps \ 32 | #-v /Users/xxx/my_project/_docker/frp/0.56.0/docker/server/frps.ini:/frps.ini \ 33 | --hostname frps \ 34 | idoall/frps:0.56.0 35 | 36 | # run frpc 37 | docker run -it \ 38 | --rm \ 39 | --name frpc \ 40 | --hostname frpc \ 41 | idoall/frpc:0.56.0 42 | 43 | 44 | ``` 45 | -------------------------------------------------------------------------------- /gitlab-ce/11.10.0-ce.0/.env: -------------------------------------------------------------------------------- 1 | VERSION=11.10.0 -------------------------------------------------------------------------------- /gitlab-ce/11.10.0-ce.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-ce:11.10.0-ce.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-ce/11.10.0-ce.0/example.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: tmaier/docker-compose 2 | 3 | before_script: 4 | - docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY} 5 | 6 | build_master: 7 | script: 8 | - docker-compose build 9 | 10 | after_script: 11 | - docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${YOUR_ARTEFACT}:$TAG 12 | 13 | variables: 14 | TAG: ${CI_COMMIT_REF_NAME} 15 | -------------------------------------------------------------------------------- /gitlab-ce/11.10.0-ce.0/gitlab.rb: -------------------------------------------------------------------------------- 1 | external_url 'http://localhost/' 2 | gitlab_rails['initial_root_password'] = File.read('/run/secrets/gitlab_root_password') 3 | 4 | -------------------------------------------------------------------------------- /gitlab-ce/11.10.0-ce.0/root_password.txt: -------------------------------------------------------------------------------- 1 | MySuperSecretAndSecurePass0rd! -------------------------------------------------------------------------------- /gitlab-ce/11.3.9-ce.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-ce:11.3.9-ce.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-ce/11.3.9-ce.0/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3" 2 | # https://docs.docker.com/compose/compose-file/ 3 | # support Docker version 17.05.0-ce 4 | services: 5 | 6 | #################################### gitlab ###################################################### 7 | 8 | ############################## 9 | # mshk_gitlab 10 | ############################## 11 | mshk_gitlab: 12 | image: "idoall/gitlab-ce:11.3.9-ce.0" 13 | hostname: mshk_gitlab 14 | ports: 15 | - "20052:22" 16 | - "20050:80" 17 | - "20051:443" 18 | networks: 19 | - mshk 20 | deploy: 21 | replicas: 1 22 | update_config: 23 | delay: 1s 24 | restart_policy: 25 | condition: on-failure 26 | 27 | 28 | # 统一网络设置 29 | networks: 30 | mshk: 31 | driver: overlay 32 | -------------------------------------------------------------------------------- /gitlab-ce/11.3.9-ce.0/gitlab.rb: -------------------------------------------------------------------------------- 1 | external_url 'http://localhost/' 2 | gitlab_rails['initial_root_password'] = File.read('/run/secrets/gitlab_root_password') 3 | 4 | -------------------------------------------------------------------------------- /gitlab-ce/11.3.9-ce.0/root_password.txt: -------------------------------------------------------------------------------- 1 | MySuperSecretAndSecurePass0rd! -------------------------------------------------------------------------------- /gitlab-ce/15.6.0-ce.0/.env: -------------------------------------------------------------------------------- 1 | VERSION=11.10.0 -------------------------------------------------------------------------------- /gitlab-ce/15.6.0-ce.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-ce:15.6.0-ce.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-ce/15.6.0-ce.0/example.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: tmaier/docker-compose 2 | 3 | before_script: 4 | - docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY} 5 | 6 | build_master: 7 | script: 8 | - docker-compose build 9 | 10 | after_script: 11 | - docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${YOUR_ARTEFACT}:$TAG 12 | 13 | variables: 14 | TAG: ${CI_COMMIT_REF_NAME} 15 | -------------------------------------------------------------------------------- /gitlab-ce/15.6.0-ce.0/gitlab.rb: -------------------------------------------------------------------------------- 1 | external_url 'http://localhost/' 2 | gitlab_rails['initial_root_password'] = File.read('/run/secrets/gitlab_root_password') 3 | 4 | -------------------------------------------------------------------------------- /gitlab-ce/15.6.0-ce.0/root_password.txt: -------------------------------------------------------------------------------- 1 | MySuperSecretAndSecurePass0rd! -------------------------------------------------------------------------------- /gitlab-ce/9.3.6-ce.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-ce:9.3.6-ce.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-runner/README.md: -------------------------------------------------------------------------------- 1 | # GitLab Runner Docker images 2 | 3 | **We don't monitor the comments here, if you need help with running this GitLab Runner Docker image, please see https://about.gitlab.com/getting-help/** 4 | 5 | `gitlab/gitlab-runner:latest` is image that can be used to run GitLab Runner in container. 6 | 7 | - The complete usage guide can be found in the [GitLab Runner Docs](https://docs.gitlab.com/runner/install/docker.html) -------------------------------------------------------------------------------- /gitlab-runner/alpine-v11.10.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-runner:alpine-v11.10.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-runner/alpine3.12-v15.6.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-runner:alpine3.12-v15.6.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-runner/alpine3.15-v15.6.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-runner:alpine3.15-v15.6.1 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-runner/v11.10.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitlab/gitlab-runner:v11.10.0 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /gitlab-runner/v11.10.0/README.md: -------------------------------------------------------------------------------- 1 | gitlab-runner:alpine-v11.10.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd gitlab-runner/v11.10.0 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/gitlab-runner:v11.10.0 . 15 | 16 | 17 | ``` 18 | 19 | 20 | # GitLab Runner Docker images 21 | 22 | **We don't monitor the comments here, if you need help with running this GitLab Runner Docker image, please see https://about.gitlab.com/getting-help/** 23 | 24 | `gitlab/gitlab-runner:latest` is image that can be used to run GitLab Runner in container. 25 | 26 | - The complete usage guide can be found in the [GitLab Runner Docs](https://docs.gitlab.com/runner/install/docker.html) -------------------------------------------------------------------------------- /golang/1.12.4-exchange/README.md: -------------------------------------------------------------------------------- 1 | golang:1.12.4-exchange 2 | ============= 3 | 4 | ## Developing 5 | 6 | 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd golang/1.12.4-exchange 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/golang:1.12.4-exchange . 17 | 18 | # run 19 | docker run -it \ 20 | --rm \ 21 | --name golang \ 22 | --hostname golang \ 23 | idoall/golang:1.12.4-exchange \ 24 | go version 25 | ``` 26 | -------------------------------------------------------------------------------- /golang/1.12.4-pkg/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/golang:1.12.4 2 | MAINTAINER lion 3 | 4 | COPY files / -------------------------------------------------------------------------------- /golang/1.12.4-pkg/README.md: -------------------------------------------------------------------------------- 1 | gitlab-runner:alpine-v11.10.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd golang/1.12.4-pkg 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/golang:1.12.4-pkg . 17 | 18 | # run 19 | docker run -it \ 20 | --rm \ 21 | --name golang \ 22 | --hostname golang \ 23 | idoall/golang:1.12.4-pkg \ 24 | go version 25 | ``` 26 | -------------------------------------------------------------------------------- /golang/1.12.4-zh/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/golang:1.12.4 2 | MAINTAINER lion 3 | 4 | # Install golint 5 | RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ 6 | && echo "Asia/Shanghai" > /etc/timezone 7 | 8 | COPY files / -------------------------------------------------------------------------------- /golang/1.12.4-zh/README.md: -------------------------------------------------------------------------------- 1 | idoall/golang:1.12.4-zh 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.12.4 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.12.4-zh . 15 | 16 | # run 17 | docker run -it \ 18 | --rm \ 19 | --name golang \ 20 | --hostname golang \ 21 | idoall/golang:1.12.4-zh \ 22 | go version 23 | ``` 24 | -------------------------------------------------------------------------------- /golang/1.12.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.12.4 2 | MAINTAINER lion 3 | 4 | # Install golint 5 | RUN go get -u golang.org/x/lint/golint 6 | 7 | # # install docker 8 | RUN curl -O https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz \ 9 | && tar zxvf docker-latest.tgz \ 10 | && cp docker/docker /usr/local/bin/ \ 11 | && rm -rf docker docker-latest.tgz 12 | 13 | # # install expect 14 | RUN apt-get update && apt-get -y install tcl tk expect && apt-get -y clean && rm -rf /var/lib/apt/lists/* 15 | 16 | COPY files / -------------------------------------------------------------------------------- /golang/1.12.4/README.md: -------------------------------------------------------------------------------- 1 | gitlab-runner:alpine-v11.10.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.12.4 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.12.4 . 15 | 16 | # run 17 | docker run -it \ 18 | --rm \ 19 | --name golang \ 20 | --hostname golang \ 21 | idoall/golang:1.12.4 \ 22 | go version 23 | ``` 24 | -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/structured-merge-diff/@v/list: -------------------------------------------------------------------------------- 1 | v0.0.0-20190325200619-18dcdd8ac8f3 2 | -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/structured-merge-diff/@v/v0.0.0-20190325200619-18dcdd8ac8f3.info: -------------------------------------------------------------------------------- 1 | {"Version":"v0.0.0-20190325200619-18dcdd8ac8f3","Time":"2019-03-25T20:06:19Z"} -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/structured-merge-diff/@v/v0.0.0-20190325200619-18dcdd8ac8f3.mod: -------------------------------------------------------------------------------- 1 | module sigs.k8s.io/structured-merge-diff 2 | 3 | require gopkg.in/yaml.v2 v2.2.1 4 | -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/structured-merge-diff/@v/v0.0.0-20190325200619-18dcdd8ac8f3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/structured-merge-diff/@v/v0.0.0-20190325200619-18dcdd8ac8f3.zip -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/structured-merge-diff/@v/v0.0.0-20190325200619-18dcdd8ac8f3.ziphash: -------------------------------------------------------------------------------- 1 | h1:mVosa+43MSYobgnPGunK8d76ct4RgZTV3tLIqrt7gXM= -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/yaml/@v/list: -------------------------------------------------------------------------------- 1 | v1.1.0 2 | -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/yaml/@v/v1.1.0.info: -------------------------------------------------------------------------------- 1 | {"Version":"v1.1.0","Time":"2018-11-02T19:02:23Z"} -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/yaml/@v/v1.1.0.mod: -------------------------------------------------------------------------------- 1 | module sigs.k8s.io/yaml 2 | -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/yaml/@v/v1.1.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/yaml/@v/v1.1.0.zip -------------------------------------------------------------------------------- /golang/1.12.4/files/go/pkg/mod/cache/download/sigs.k8s.io/yaml/@v/v1.1.0.ziphash: -------------------------------------------------------------------------------- 1 | h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs= -------------------------------------------------------------------------------- /golang/1.12.9-exchange/README.md: -------------------------------------------------------------------------------- 1 | golang:1.12.4-exchange 2 | ============= 3 | 4 | ## Developing 5 | 6 | 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd golang/1.12.9-exchange 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/golang:1.12.9-exchange . 17 | 18 | # run 19 | docker run -it \ 20 | --rm \ 21 | --name golang \ 22 | --hostname golang \ 23 | idoall/golang:1.12.9-exchange \ 24 | go version 25 | ``` 26 | -------------------------------------------------------------------------------- /golang/1.12.9/README.md: -------------------------------------------------------------------------------- 1 | gitlab-runner:alpine-v11.10.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.12.9 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.12.9 . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.12.9 \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.12.9 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.13.1-exchange/README.md: -------------------------------------------------------------------------------- 1 | golang:1.12.4-exchange 2 | ============= 3 | 4 | ## Developing 5 | 6 | 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd golang/1.13.1-exchange 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/golang:1.13.1-alpine3.10.2-exchange . 17 | 18 | # run 19 | docker run -it \ 20 | --rm \ 21 | --name golang \ 22 | --hostname golang \ 23 | idoall/golang:1.13.1-alpine3.10.2-exchange \ 24 | go version 25 | ``` 26 | -------------------------------------------------------------------------------- /golang/1.13.1/README.md: -------------------------------------------------------------------------------- 1 | golang 1.13.1 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.13.1 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.13.1-alpine3.10.2 . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.13.1-alpine3.10.2 \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.13.1-alpine3.10.2 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.13.8/alpine3.11.3-mshk/README.md: -------------------------------------------------------------------------------- 1 | golang 1.13.8-alpine3.11.3-mshk 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.13.8/alpine3.11.3-mshk 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.13.8-alpine3.11.3-mshk . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.13.8-alpine3.11.3-mshk \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.13.8-alpine3.11.3-mshk 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.13.8/alpine3.11.3-source/README.md: -------------------------------------------------------------------------------- 1 | golang 1.13.8-alpine3.11.3-source 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.13.8/alpine3.11.3-source 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.13.8-alpine3.11.3-source . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.13.8-alpine3.11.3-source \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.13.8-alpine3.11.3-source 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.13.8/alpine3.11.3-wx/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/golang:1.13.8-alpine3.11.3-source 2 | 3 | RUN apk --no-cache add make git gcc libtool musl-dev upx 4 | 5 | WORKDIR / -------------------------------------------------------------------------------- /golang/1.13.8/alpine3.11.3-wx/README.md: -------------------------------------------------------------------------------- 1 | golang 1.13.8-alpine3.11.3-wx 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.13.8/alpine3.11.3-wx 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.13.8-alpine3.11.3-wx . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.13.8-alpine3.11.3-wx \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.13.8-alpine3.11.3-wx 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.13.8/stretch/README.md: -------------------------------------------------------------------------------- 1 | golang 1.13.8-stretch 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.13.8/stretch 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.13.8-stretch . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.13.8-stretch \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.13.8-stretch 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.17.8/README.md: -------------------------------------------------------------------------------- 1 | golang 1.17.8 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.17.8 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.17.8 . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.17.8 \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.17.8 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.19.5/README.md: -------------------------------------------------------------------------------- 1 | golang 1.19.5 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.19.5 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.19.5 . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.19.5 \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.19.5 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.22.0/Dockerfile: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM golang:1.22.0 8 | 9 | ENV GOLANG_VERSION 1.22.0 10 | 11 | # don't auto-upgrade the gotoolchain 12 | # https://github.com/docker-library/golang/issues/472 13 | ENV GOTOOLCHAIN=local 14 | 15 | ENV GOPATH /go 16 | ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH 17 | WORKDIR $GOPATH -------------------------------------------------------------------------------- /golang/1.22.0/README.md: -------------------------------------------------------------------------------- 1 | golang 1.22.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.22.0 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.22.0 . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.22.0 \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.22.0 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang/1.23.5/Dockerfile: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM golang:1.23.5 8 | 9 | ENV GOLANG_VERSION 1.23.5 10 | 11 | # don't auto-upgrade the gotoolchain 12 | # https://github.com/docker-library/golang/issues/472 13 | ENV GOTOOLCHAIN=local 14 | 15 | ENV GOPATH /go 16 | ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH 17 | RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" 18 | WORKDIR $GOPATH -------------------------------------------------------------------------------- /golang/1.23.5/README.md: -------------------------------------------------------------------------------- 1 | golang 1.23.5 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd golang/1.23.5 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/golang:1.23.5 . 15 | 16 | 17 | # view golang version 18 | docker run -it \ 19 | --rm \ 20 | --name golang \ 21 | --hostname golang \ 22 | idoall/golang:1.23.5 \ 23 | go version 24 | 25 | 26 | # run 27 | docker run -it \ 28 | --rm \ 29 | --name golang \ 30 | --hostname golang \ 31 | idoall/golang:1.23.5 32 | 33 | 34 | # access the contain 35 | docker exec -it golang /bin/bash 36 | ``` 37 | -------------------------------------------------------------------------------- /golang1.12.9-gaea/1.0.1/files/etc/_supervisord/gaea.ini: -------------------------------------------------------------------------------- 1 | [program:gaea] 2 | command = /go/src/github.com/idoall/Gaea/bin/gaea ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | stdout_events_enabled=true 10 | stderr_events_enabled=true 11 | directory=/go/src/github.com/idoall/Gaea 12 | ; redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 13 | ; stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 14 | ; stdout_logfile_backups = 20 ; stdout 日志文件备份数 15 | 16 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 17 | stdout_logfile = /dev/stdout 18 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 19 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 20 | 21 | -------------------------------------------------------------------------------- /golang1.12.9-gaea/1.0.1/files/hooks/entrypoint-pre.d/01_gaea_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/gaea.ini" 5 | cp -r /etc/_supervisord/gaea.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /golang1.12.9-gaea/1.0.1/files/hooks/log.after/01_gaea_log: -------------------------------------------------------------------------------- 1 | /go/src/github.com/idoall/Gaea/logs/gaea.log.wf 2 | /go/src/github.com/idoall/Gaea/logs/gaea.log -------------------------------------------------------------------------------- /jaeger/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 3 | 4 | `Jaeger` 和 `EleasticSearch` 的 `Docker` 化部署 5 | 6 | ## 启动 7 | ``` 8 | # 启动 ElasticSearch 9 | docker-compose up elasticsearch -d 10 | # 启动所有 11 | docker-compose up -d 12 | ``` 13 | 删除使用 `docker-compose down` 14 | 15 | 然后浏览 http://localhost:16686 -------------------------------------------------------------------------------- /jaeger/jaeger-agent/1.11.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jaegertracing/jaeger-agent:1.11.0 2 | MAINTAINER lion 3 | 4 | -------------------------------------------------------------------------------- /jaeger/jaeger-agent/1.11.0/README.md: -------------------------------------------------------------------------------- 1 | # jaeger-agent:1.11.0 2 | 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd jaeger/jaeger-agent/1.11.0 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/jaeger-agent:1.11.0 . 16 | ``` 17 | -------------------------------------------------------------------------------- /jaeger/jaeger-collector/1.11.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jaegertracing/jaeger-collector:1.11.0 2 | MAINTAINER lion 3 | 4 | -------------------------------------------------------------------------------- /jaeger/jaeger-collector/1.11.0/README.md: -------------------------------------------------------------------------------- 1 | # jaeger-collector:1.11.0 2 | 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd jaeger/jaeger-collector/1.11.0 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/jaeger-collector:1.11.0 . 16 | ``` 17 | -------------------------------------------------------------------------------- /jaeger/jaeger-query/1.11.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jaegertracing/jaeger-query:1.11.0 2 | MAINTAINER lion 3 | 4 | -------------------------------------------------------------------------------- /jaeger/jaeger-query/1.11.0/README.md: -------------------------------------------------------------------------------- 1 | # jaeger-query:1.11.0 2 | 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd jaeger/jaeger-query/1.11.0 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/jaeger-query:1.11.0 . 16 | ``` 17 | -------------------------------------------------------------------------------- /jenkins/2.138.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jenkinsci/jenkins:2.138.3 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /jenkins/2.152/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jenkinsci/jenkins:2.152 2 | MAINTAINER lion 3 | -------------------------------------------------------------------------------- /k8s-helm/2.11.0/README.md: -------------------------------------------------------------------------------- 1 | k8s-helm:2.11.0 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd k8s-helm/2.11.0 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/k8s-helm:2.11.0 . 15 | 16 | # Run After running, wait for 1 minutes. 17 | # Open http://localhost/ in your browser 18 | $ docker run -it --rm \ 19 | --name=helm \ 20 | idoall/k8s-helm:2.11.0 \ 21 | helm version 22 | 23 | # access the contain 24 | $ docker run -it --rm \ 25 | --name=helm \ 26 | -v ~/.kube/config:/root/.kube/config \ 27 | idoall/k8s-helm:2.11.0 \ 28 | helm list 29 | NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE 30 | consul 1 Sun May 5 21:13:16 2019 DEPLOYED consul-3.6.1 1.0.0 default 31 | 32 | ``` 33 | 34 | # Note 35 | 36 | 当使用 `update-ca-certificates` 提示错误时,可以使用下面的方法忽略错误 37 | ``` 38 | $ update-ca-certificates 2>/dev/null || true 39 | ``` -------------------------------------------------------------------------------- /k8s-helm/2.13.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine 2 | 3 | LABEL maintainer="lion " 4 | 5 | ARG VCS_REF 6 | ARG BUILD_DATE 7 | 8 | # Metadata 9 | LABEL org.label-schema.vcs-ref=$VCS_REF \ 10 | org.label-schema.vcs-url="https://github.com/lachie83/k8s-helm" \ 11 | org.label-schema.build-date=$BUILD_DATE \ 12 | org.label-schema.docker.dockerfile="/Dockerfile" 13 | 14 | ENV HELM_LATEST_VERSION="v2.13.1" 15 | 16 | RUN apk add --update ca-certificates \ 17 | && apk add --update -t deps wget \ 18 | && wget https://storage.googleapis.com/kubernetes-helm/helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz \ 19 | && tar -xvf helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz \ 20 | && mv linux-amd64/helm /usr/local/bin \ 21 | && apk add ca-certificates \ 22 | && apk del --purge deps \ 23 | && rm /var/cache/apk/* \ 24 | && rm -f /helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz 25 | 26 | -------------------------------------------------------------------------------- /k8s-helm/2.13.1/README.md: -------------------------------------------------------------------------------- 1 | k8s-helm:2.13.1 2 | ============= 3 | 4 | ## Developing 5 | 6 | ```bash 7 | # Pull image 8 | git clone https://github.com/idoall/docker.git 9 | cd k8s-helm/2.13.1 10 | 11 | # hack hack hack 12 | 13 | # Build 14 | docker build -t idoall/k8s-helm:2.13.1 . 15 | 16 | # Run After running, wait for 1 minutes. 17 | # Open http://localhost/ in your browser 18 | $ docker run -it --rm \ 19 | --name=helm \ 20 | idoall/k8s-helm:2.13.1 \ 21 | helm version 22 | 23 | # access the contain 24 | $ docker run -it --rm \ 25 | --name=helm \ 26 | -v ~/.kube/config:/root/.kube/config \ 27 | idoall/k8s-helm:2.13.1 \ 28 | helm list 29 | NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE 30 | consul 1 Sun May 5 21:13:16 2019 DEPLOYED consul-3.6.1 1.0.0 default 31 | 32 | ``` 33 | 34 | # Note 35 | 36 | 当使用 `update-ca-certificates` 提示错误时,可以使用下面的方法忽略错误 37 | ``` 38 | $ update-ca-certificates 2>/dev/null || true 39 | ``` -------------------------------------------------------------------------------- /k8s-helm/3.0.0/alpine3.11.3-source/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/alpine:3.11.3-source 2 | 3 | LABEL maintainer="lion " 4 | 5 | ARG VCS_REF 6 | ARG BUILD_DATE 7 | 8 | # Metadata 9 | LABEL org.label-schema.vcs-ref=$VCS_REF \ 10 | org.label-schema.vcs-url="https://github.com/idoall/docker" \ 11 | org.label-schema.build-date=$BUILD_DATE \ 12 | org.label-schema.docker.dockerfile="/Dockerfile" 13 | 14 | ENV HELM_LATEST_VERSION="v3.0.0" 15 | 16 | RUN apk add wget curl git openssl bash \ 17 | && wget https://get.helm.sh/helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz \ 18 | && tar -xvf helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz \ 19 | && mv /linux-amd64/helm /usr/local/bin \ 20 | && rm /var/cache/apk/* \ 21 | && rm -f /helm-${HELM_LATEST_VERSION}-linux-amd64.tar.gz 22 | -------------------------------------------------------------------------------- /kibana/5.6.16/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM kibana:5.6.16 2 | MAINTAINER lion -------------------------------------------------------------------------------- /kibana/5.6.16/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2.2' 2 | services: 3 | elasticsearch: 4 | image: idoall/elasticsearch:5.6.16 5 | container_name: elasticsearch 6 | environment: 7 | - cluster.name=docker-cluster 8 | - bootstrap.memory_lock=true 9 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" 10 | ulimits: 11 | memlock: 12 | soft: -1 13 | hard: -1 14 | volumes: 15 | - esdata1:/usr/share/elasticsearch/data 16 | ports: 17 | - 9200:9200 18 | - 9300:9300 19 | kibana: 20 | image: idoall/kibana:5.6.16 21 | container_name: kibana 22 | environment: 23 | - ELASTICSEARCH_HOSTS=http://elasticsearch:9200 24 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" 25 | ports: 26 | - 5601:5601 27 | ulimits: 28 | memlock: 29 | soft: -1 30 | hard: -1 31 | 32 | volumes: 33 | esdata1: 34 | driver: local -------------------------------------------------------------------------------- /kibana/6.7.1/Dockerfile: -------------------------------------------------------------------------------- 1 | # Kibana 6.7.1 2 | 3 | # This image re-bundles the Docker image from the upstream provider, Elastic. 4 | FROM docker.elastic.co/kibana/kibana:6.7.1@sha256:ba704309bd932c10416b55a4c1863e771e3ed75e5b0688b2c08f58eedbd523f7 5 | 6 | # The upstream image was built by: 7 | # https://github.com/elastic/dockerfiles/tree/v6.7.1/kibana 8 | 9 | # For a full list of supported images and tags visit https://www.docker.elastic.co 10 | 11 | # For Elasticsearch documentation visit https://www.elastic.co/guide/en/kibana/reference/current/docker.html 12 | 13 | # See https://github.com/docker-library/official-images/pull/4917 for more details. -------------------------------------------------------------------------------- /kibana/6.7.1/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2.2' 2 | services: 3 | elasticsearch: 4 | image: idoall/elasticsearch:6.7 5 | container_name: elasticsearch 6 | environment: 7 | - cluster.name=docker-cluster 8 | - bootstrap.memory_lock=true 9 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" 10 | ulimits: 11 | memlock: 12 | soft: -1 13 | hard: -1 14 | volumes: 15 | - esdata1:/usr/share/elasticsearch/data 16 | ports: 17 | - 9200:9200 18 | - 9300:9300 19 | kibana: 20 | image: idoall/kibana:6.7.1 21 | container_name: kibana 22 | environment: 23 | - ELASTICSEARCH_HOSTS=http://elasticsearch:9200 24 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" 25 | ports: 26 | - 5601:5601 27 | ulimits: 28 | memlock: 29 | soft: -1 30 | hard: -1 31 | 32 | volumes: 33 | esdata1: 34 | driver: local -------------------------------------------------------------------------------- /kibana/7.0/Dockerfile: -------------------------------------------------------------------------------- 1 | # Elasticsearch 6.7.0 2 | 3 | # This image re-bundles the Docker image from the upstream provider, Elastic. 4 | FROM docker.elastic.co/kibana/kibana:7.0.0@sha256:f36eb6f1ee3cd0b75c9f7f24d83a27767aa8c13a3dff998fe17117a319c4a97f 5 | 6 | # The upstream image was built by: 7 | # https://github.com/elastic/dockerfiles/tree/v6.7.0/elasticsearch 8 | 9 | # For a full list of supported images and tags visit https://www.docker.elastic.co 10 | 11 | # For Elasticsearch documentation visit https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html 12 | 13 | # See https://github.com/docker-library/official-images/pull/4916 for more details. -------------------------------------------------------------------------------- /kibana/7.0/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2.2' 2 | services: 3 | elasticsearch: 4 | image: idoall/elasticsearch:7.0 5 | container_name: elasticsearch 6 | environment: 7 | - cluster.name=docker-cluster 8 | - bootstrap.memory_lock=true 9 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" 10 | - "discovery.type=single-node" 11 | ulimits: 12 | memlock: 13 | soft: -1 14 | hard: -1 15 | volumes: 16 | - esdata1:/usr/share/elasticsearch/data 17 | ports: 18 | - 9200:9200 19 | - 9300:9300 20 | kibana: 21 | image: idoall/kibana:7.0 22 | container_name: kibana 23 | environment: 24 | - ELASTICSEARCH_HOSTS=http://elasticsearch:9200 25 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" 26 | ports: 27 | - 5601:5601 28 | ulimits: 29 | memlock: 30 | soft: -1 31 | hard: -1 32 | 33 | volumes: 34 | esdata1: 35 | driver: local -------------------------------------------------------------------------------- /mysql/5.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.6 2 | MAINTAINER lion 3 | 4 | 5 | EXPOSE 3306 -------------------------------------------------------------------------------- /mysql/5.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | MAINTAINER lion 3 | 4 | 5 | EXPOSE 3306 -------------------------------------------------------------------------------- /mysql/8.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | MAINTAINER lion 3 | 4 | 5 | EXPOSE 3306 -------------------------------------------------------------------------------- /node/10.15.3-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10.15.3-alpine 2 | 3 | ENV NODE_VERSION 10.15.3 4 | 5 | RUN apk add python make g++ 6 | RUN apk add git 7 | RUN rm /var/cache/apk/* 8 | -------------------------------------------------------------------------------- /node/10.15.3-alpine/README.md: -------------------------------------------------------------------------------- 1 | node:10.15.3 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/10.15.3-alpine 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:10.15.3-alpine . 17 | 18 | # Run After running, wait for 1 minutes. 19 | $ docker run -it --rm \ 20 | --name=node \ 21 | idoall/node:10.15.3-alpine \ 22 | /bin/bash 23 | ``` -------------------------------------------------------------------------------- /node/10.19.0/alpine3.11.3-source/README.md: -------------------------------------------------------------------------------- 1 | node 10.19.0-alpine3.11.3-source 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/10.19.0/alpine3.11.3-source 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:10.19.0-alpine3.11.3-source . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:10.19.0-alpine3.11.3-source \ 24 | node -v 25 | 26 | # Run After running, wait for 1 minutes. 27 | $ docker run -it --rm \ 28 | --name=node \ 29 | idoall/node:10.19.0-alpine3.11.3-source \ 30 | /bin/bash 31 | ``` -------------------------------------------------------------------------------- /node/12.16.1/alpine3.11.3-source/README.md: -------------------------------------------------------------------------------- 1 | node 12.16.1-alpine3.11.3-source 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/12.16.1/alpine3.11.3-source 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:12.16.1-alpine3.11.3-source . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:12.16.1-alpine3.11.3-source \ 24 | node -v 25 | 26 | # Run After running, wait for 1 minutes. 27 | $ docker run -it --rm \ 28 | --name=node \ 29 | idoall/node:12.16.1-alpine3.11.3-source \ 30 | /bin/bash 31 | ``` -------------------------------------------------------------------------------- /node/13.8.0/alpine3.11.3-source/README.md: -------------------------------------------------------------------------------- 1 | node 13.8.0-alpine3.11.3-source 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/13.8.0/alpine3.11.3-source 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:13.8.0-alpine3.11.3-source . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:13.8.0-alpine3.11.3-source \ 24 | node -v 25 | 26 | # Run After running, wait for 1 minutes. 27 | $ docker run -it --rm \ 28 | --name=node \ 29 | idoall/node:13.8.0-alpine3.11.3-source \ 30 | /bin/bash 31 | ``` -------------------------------------------------------------------------------- /node/14.12.1/alpine3.16/README.md: -------------------------------------------------------------------------------- 1 | node 14.12.1-alpine3.16 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/14.12.1/alpine3.16 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:14.12.1-alpine3.16 . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:14.12.1-alpine3.16 \ 24 | node -v 25 | 26 | # Run After running, wait for 1 minutes. 27 | $ docker run -it --rm \ 28 | --name=node \ 29 | idoall/node:14.12.1-alpine3.16 \ 30 | /bin/sh 31 | ``` -------------------------------------------------------------------------------- /node/18.12.1/alpine3.16/README.md: -------------------------------------------------------------------------------- 1 | node 18.12.1-alpine3.16 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/18.12.1/alpine3.16 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:18.12.1-alpine3.16 . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:18.12.1-alpine3.16 \ 24 | node -v 25 | 26 | # Run After running, wait for 1 minutes. 27 | $ docker run -it --rm \ 28 | --name=node \ 29 | idoall/node:18.12.1-alpine3.16 \ 30 | /bin/sh 31 | ``` -------------------------------------------------------------------------------- /node/18.20.3/alpine3.18/README.md: -------------------------------------------------------------------------------- 1 | node 18.20.3-alpine3.18 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/18.20.3/alpine3.18 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:18.20.3-alpine3.18 . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:18.20.3-alpine3.18 \ 24 | node -v 25 | 26 | # Run After running, wait for 1 minutes. 27 | $ docker run -it --rm \ 28 | --name=node \ 29 | idoall/node:18.20.3-alpine3.18 \ 30 | /bin/sh 31 | ``` -------------------------------------------------------------------------------- /node/18.20.3/alpine3.18/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | # Run command with node if the first argument contains a "-" or is not a system command. The last 5 | # part inside the "{}" is a workaround for the following bug in ash/dash: 6 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264 7 | if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] && ! [ -x "${1}" ]; }; then 8 | set -- node "$@" 9 | fi 10 | 11 | exec "$@" -------------------------------------------------------------------------------- /node/20.18.0/alpine3.20/README.md: -------------------------------------------------------------------------------- 1 | node 20.18.0-alpine3.20 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/20.18.0/alpine3.20 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:20.18.0-alpine3.20 . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:20.18.0-alpine3.20 \ 24 | node -v 25 | 26 | 27 | # Run After running, wait for 1 minutes. 28 | $ docker run -it --rm \ 29 | --name=node \ 30 | idoall/node:20.18.0-alpine3.20 \ 31 | /bin/sh 32 | ``` -------------------------------------------------------------------------------- /node/20.18.0/alpine3.20/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | # Run command with node if the first argument contains a "-" or is not a system command. The last 5 | # part inside the "{}" is a workaround for the following bug in ash/dash: 6 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264 7 | if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] && ! [ -x "${1}" ]; }; then 8 | set -- node "$@" 9 | fi 10 | 11 | exec "$@" -------------------------------------------------------------------------------- /node/22.13.1/alpine3.21/README.md: -------------------------------------------------------------------------------- 1 | node 22.13.1-alpine3.21 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/22.13.1/alpine3.21 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:22.13.1-alpine3.21 . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:22.13.1-alpine3.21 \ 24 | node -v 25 | 26 | 27 | # Run After running, wait for 1 minutes. 28 | $ docker run -it --rm \ 29 | --name=node \ 30 | idoall/node:22.13.1-alpine3.21 \ 31 | /bin/sh 32 | ``` -------------------------------------------------------------------------------- /node/22.13.1/alpine3.21/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | # Run command with node if the first argument contains a "-" or is not a system command. The last 5 | # part inside the "{}" is a workaround for the following bug in ash/dash: 6 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264 7 | if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] && ! [ -x "${1}" ]; }; then 8 | set -- node "$@" 9 | fi 10 | 11 | exec "$@" -------------------------------------------------------------------------------- /node/22.13.1/slim/Dockerfile: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM node:22.13.1-slim 8 | 9 | -------------------------------------------------------------------------------- /node/22.13.1/slim/README.md: -------------------------------------------------------------------------------- 1 | node 22.13.1-slim 2 | ============= 3 | 4 | Add python make g++ git 5 | 6 | ## Developing 7 | 8 | ```bash 9 | # Pull image 10 | git clone https://github.com/idoall/docker.git 11 | cd node/22.13.1/slim 12 | 13 | # hack hack hack 14 | 15 | # Build 16 | docker build -t idoall/node:22.13.1-slim . 17 | 18 | # view node version 19 | docker run -it \ 20 | --rm \ 21 | --name node \ 22 | --hostname node \ 23 | idoall/node:22.13.1-slim \ 24 | node -v 25 | 26 | 27 | # Run After running, wait for 1 minutes. 28 | $ docker run -it --rm \ 29 | --name=node \ 30 | idoall/node:22.13.1-slim \ 31 | /bin/sh 32 | ``` -------------------------------------------------------------------------------- /registry/2.7.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM registry:2.7.1 2 | MAINTAINER lion 3 | 4 | # ----------------------------------------------------------------------------- 5 | # 将 registry 的默认端口 5000 心为 80 6 | # ----------------------------------------------------------------------------- 7 | ADD config.yml /etc/docker/registry/config.yml 8 | 9 | # ----------------------------------------------------------------------------- 10 | # 映射端口 11 | # ----------------------------------------------------------------------------- 12 | EXPOSE 80 -------------------------------------------------------------------------------- /registry/2.7.1/README.md: -------------------------------------------------------------------------------- 1 | # docker-registry2.5.1 2 | 为了便于使用,将默认端口从5000改为80 3 | 4 | 5 | ## Developing 6 | 7 | ```bash 8 | # Pull image 9 | git clone https://github.com/idoall/docker.git 10 | cd registry/2.7.1 11 | 12 | # hack hack hack 13 | 14 | # build 15 | docker build -t idoall/registry:2.7.1 . 16 | 17 | # run 18 | docker run -it \ 19 | --rm \ 20 | --name registry \ 21 | --hostname registry \ 22 | -p 80:80 \ 23 | idoall/registry:2.7.1 24 | 25 | # view 26 | curl localhost/v2/_catalog 27 | ``` 28 | 29 | 30 | 31 | ## Where is the data stored?  32 | 33 | The container uses host mounted volumes to store persistent data: 34 | 35 | | Local location | Container location | 36 | | ---------------------- | ---------------------------------------- | 37 | | `/srv/registry_folder` | `/var/lib/registry` | 38 | 39 | 40 | 更多配置请参考:https://docs.docker.com/registry/configuration/ -------------------------------------------------------------------------------- /registry/2.7.1/config.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | log: 3 | fields: 4 | service: registry 5 | storage: 6 | cache: 7 | blobdescriptor: inmemory 8 | filesystem: 9 | rootdirectory: /var/lib/registry 10 | http: 11 | addr: :80 12 | headers: 13 | X-Content-Type-Options: [nosniff] 14 | health: 15 | storagedriver: 16 | enabled: true 17 | interval: 10s 18 | threshold: 3 19 | -------------------------------------------------------------------------------- /shazam/1.0.1/files/etc/_supervisord/shazam.ini: -------------------------------------------------------------------------------- 1 | [program:shazam] 2 | command = /home/work/_app/_shazam/gaea ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | stdout_events_enabled=true 10 | stderr_events_enabled=true 11 | directory=/home/work/_app/_shazam/ 12 | ; redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 13 | ; stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 14 | ; stdout_logfile_backups = 20 ; stdout 日志文件备份数 15 | 16 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 17 | stdout_logfile = /dev/stdout 18 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 19 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 20 | 21 | -------------------------------------------------------------------------------- /shazam/1.0.1/files/hooks/entrypoint-pre.d/01_shazam_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/shazam.ini" 5 | cp -r /etc/_supervisord/shazam.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /shazam/1.0.1/files/hooks/log.after/01_shazam_log: -------------------------------------------------------------------------------- 1 | /home/work/_app/_shazam/logs/gaea.log.wf 2 | /home/work/_app/_shazam/logs/gaea.log -------------------------------------------------------------------------------- /ubuntu/16.04-source/README.md: -------------------------------------------------------------------------------- 1 | # docker-ubuntu16.04 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`ubuntu:16.04`](https://hub.docker.com/r/library/ubuntu/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd ubuntu/16.04-source 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/ubuntu:16.04-source . 19 | 20 | # run 21 | docker run -it \ 22 | --rm \ 23 | --name ubuntu16-source \ 24 | --hostname ubuntu16-source \ 25 | idoall/ubuntu:16.04-source \ 26 | /bin/bash 27 | 28 | 29 | # view supervisor version 30 | docker exec -it ubuntu16-source supervisord -v 31 | 32 | 33 | # access the contain 34 | docker exec -it ubuntu16-source /bin/bash 35 | 36 | ``` -------------------------------------------------------------------------------- /ubuntu/16.04/README.md: -------------------------------------------------------------------------------- 1 | # docker-ubuntu16.04 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`ubuntu:16.04`](https://hub.docker.com/r/library/ubuntu/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd ubuntu/16.04 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/ubuntu:16.04 . 19 | 20 | # run 21 | docker run -it \ 22 | --rm \ 23 | --name ubuntu16 \ 24 | --hostname ubuntu16 \ 25 | idoall/ubuntu:16.04 \ 26 | /bin/bash 27 | 28 | 29 | # view supervisor version 30 | docker exec -it ubuntu16 supervisord -v 31 | 32 | 33 | # access the contain 34 | docker exec -it ubuntu16 /bin/bash 35 | 36 | ``` -------------------------------------------------------------------------------- /ubuntu/16.04/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /ubuntu/16.04/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /ubuntu/16.04/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | /hooks/log.after/ -------------------------------------------------------------------------------- /ubuntu/18.04.5/README.md: -------------------------------------------------------------------------------- 1 | # docker-ubuntu18.04.5 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`ubuntu:18.04.5`](https://hub.docker.com/r/library/ubuntu/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd ubuntu/18.04.5 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/ubuntu:18.04.5 . 19 | 20 | # run 21 | docker run -it \ 22 | --rm \ 23 | --name ubuntu18 \ 24 | --hostname ubuntu18 \ 25 | idoall/ubuntu:18.04.5 \ 26 | /bin/bash 27 | 28 | 29 | # view supervisor version 30 | docker run -it --rm --name ubuntu18 idoall/ubuntu:18.04.5 supervisord -v 31 | 32 | 33 | # deamon contain 34 | docker run -d \ 35 | --name ubuntu18 \ 36 | --hostname ubuntu18 \ 37 | idoall/ubuntu:18.04.5 38 | 39 | # access the contain 40 | docker exec -it ubuntu18 /bin/bash 41 | 42 | ``` -------------------------------------------------------------------------------- /ubuntu/18.04.5/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /ubuntu/18.04.5/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /ubuntu/18.04.5/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | /hooks/log.after/ -------------------------------------------------------------------------------- /ubuntu/18.04/README.md: -------------------------------------------------------------------------------- 1 | # docker-ubuntu16.04 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`ubuntu:16.04`](https://hub.docker.com/r/library/ubuntu/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd ubuntu/18.04 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/ubuntu:18.04 . 19 | 20 | # run 21 | docker run -it \ 22 | --rm \ 23 | --name ubuntu18 \ 24 | --hostname ubuntu18 \ 25 | idoall/ubuntu:18.04 \ 26 | /bin/bash 27 | 28 | 29 | # view supervisor version 30 | docker run -it --rm --name ubuntu18 idoall/ubuntu:18.04 supervisord -v 31 | 32 | 33 | # deamon contain 34 | docker run -d \ 35 | --name ubuntu18 \ 36 | --hostname ubuntu18 \ 37 | idoall/ubuntu:18.04 38 | 39 | # access the contain 40 | docker exec -it ubuntu18 /bin/bash 41 | 42 | ``` -------------------------------------------------------------------------------- /ubuntu/18.04/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /ubuntu/18.04/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /ubuntu/18.04/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | /hooks/log.after/ -------------------------------------------------------------------------------- /ubuntu/19.10/source/README.md: -------------------------------------------------------------------------------- 1 | # docker-ubuntu19.10 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`ubuntu:19.10`](https://hub.docker.com/r/library/ubuntu/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd ubuntu/19.10/source 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/ubuntu:19.10-source . 19 | 20 | # run 21 | docker run -it \ 22 | --rm \ 23 | --name ubuntu19 \ 24 | --hostname ubuntu19 \ 25 | idoall/ubuntu:19.10-source \ 26 | /bin/bash 27 | 28 | 29 | # view supervisor version 30 | docker run -it --rm --name ubuntu19 idoall/ubuntu:19.10-source supervisord -v 31 | 32 | 33 | # deamon contain 34 | docker run -d \ 35 | --name ubuntu19 \ 36 | --hostname ubuntu19 \ 37 | idoall/ubuntu:19.10-source 38 | 39 | # access the contain 40 | docker exec -it ubuntu19 /bin/bash 41 | 42 | ``` -------------------------------------------------------------------------------- /ubuntu/20.04/README.md: -------------------------------------------------------------------------------- 1 | # docker-ubuntu20.04 2 | 3 | 4 | This repository contains the sources for the following [docker](https://docker.io) base images: 5 | - [`ubuntu:20.04`](https://hub.docker.com/r/library/ubuntu/) 6 | 7 | 8 | ## Developing 9 | 10 | ```bash 11 | # Pull image 12 | git clone https://github.com/idoall/docker.git 13 | cd ubuntu/20.04 14 | 15 | # hack hack hack 16 | 17 | # build 18 | docker build -t idoall/ubuntu:20.04 . 19 | 20 | # run 21 | docker run -it \ 22 | --rm \ 23 | --name ubuntu20 \ 24 | --hostname ubuntu20 \ 25 | idoall/ubuntu:20.04 \ 26 | /bin/bash 27 | 28 | 29 | # view supervisor version 30 | docker run -it --rm --name ubuntu20 idoall/ubuntu:20.04 supervisord -v 31 | 32 | 33 | # deamon contain 34 | docker run -d \ 35 | --name ubuntu20 \ 36 | --hostname ubuntu20 \ 37 | idoall/ubuntu:20.04 38 | 39 | # access the contain 40 | docker exec -it ubuntu20 /bin/bash 41 | 42 | ``` -------------------------------------------------------------------------------- /ubuntu/20.04/files/hooks/entrypoint-pre.d/01_user_group_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GID=`/usr/bin/id -g` 4 | 5 | echo "${UID}:x:${UID}:${GID}:noone:/tmp:/sbin/nologin" >> /etc/passwd 6 | echo "${GID}:x:${GID}:${UID}" >> /etc/group 7 | -------------------------------------------------------------------------------- /ubuntu/20.04/files/hooks/log.after/01_supervisord_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord.log -------------------------------------------------------------------------------- /ubuntu/20.04/files/hooks/supervisord-pre.d/01_supervisord: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Default empty script - supervisord fails if this doesn't exist. Override it in child images if required 4 | 5 | exit 0 6 | /hooks/log.after/ -------------------------------------------------------------------------------- /ubuntu/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`ubuntu`](https://hub.docker.com/r/library/ubuntu/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`16.04`(*16.04/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu/16.04/Dockerfile) 10 | 11 | - [`18.04`(*18.04/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu/18.04/Dockerfile) 12 | 13 | - [`18.04`(*18.04.5/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu/18.04.5/Dockerfile) 14 | ​ 15 | 16 | -------------------------------------------------------------------------------- /ubuntu16.04-golang/1.10.3/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.10.3 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu16.04-golang:1.4`](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd docker/ubuntu16.04-golang/1.10.3 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-golang:1.10.3 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/ubuntu16.04-golang:1.10.3 go version 25 | 26 | # Run 27 | docker run -d --name=golang idoall/ubuntu16.04-golang:1.10.3 28 | 29 | # access the contain 30 | docker exec -it golang /bin/bash 31 | ``` 32 | -------------------------------------------------------------------------------- /ubuntu16.04-golang/1.11.2/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.11.2 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu16.04-golang:1.4`](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd docker/ubuntu16.04-golang/1.11.2 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-golang:1.11.2 . 22 | 23 | # view go version 24 | docker run -it --name=golang --rm idoall/ubuntu16.04-golang:1.11.2 go version 25 | 26 | # view vgo version 27 | docker run -it --name=golang --rm idoall/ubuntu16.04-golang:1.11.2 vgo version 28 | 29 | # Run 30 | docker run -d --name=golang idoall/ubuntu16.04-golang:1.11.2 31 | 32 | # access the contain 33 | docker exec -it golang /bin/bash 34 | ``` 35 | -------------------------------------------------------------------------------- /ubuntu16.04-golang/1.4/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.4 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu:16.04`](https://hub.docker.com/r/idoall/ubuntu/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd ubuntu16.04-golang/1.4 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-golang:1.4 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/ubuntu16.04-golang:1.4 go version 25 | 26 | # Run 27 | docker run -d --name=golang idoall/ubuntu16.04-golang:1.4 28 | 29 | # access the contain 30 | docker exec -it golang /bin/bash 31 | ``` 32 | -------------------------------------------------------------------------------- /ubuntu16.04-golang/1.7.4/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.7.4 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu16.04-golang:1.4`](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd ubuntu16.04-golang/1.7.4 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-golang:1.7.4 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/ubuntu16.04-golang:1.7.4 go version 25 | 26 | # Run 27 | docker run -d --name=golang idoall/ubuntu16.04-golang:1.7.4 28 | 29 | # access the contain 30 | docker exec -it golang /bin/bash 31 | ``` 32 | -------------------------------------------------------------------------------- /ubuntu16.04-golang/1.9/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.9 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu16.04-golang:1.4`](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd ubuntu16.04-golang/1.9 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-golang:1.9 . 22 | 23 | # view version 24 | docker run -it --name=golang --rm idoall/ubuntu16.04-golang:1.9 go version 25 | 26 | # Run 27 | docker run -d --name=golang idoall/ubuntu16.04-golang:1.9 28 | 29 | # access the contain 30 | docker exec -it golang /bin/bash 31 | ``` 32 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.10.3-v8/README.md: -------------------------------------------------------------------------------- 1 | # V8 Bindings for Go [![Build Status](https://travis-ci.org/augustoroman/v8.svg?branch=master)](https://travis-ci.org/augustoroman/v8) [![Go Report Card](https://goreportcard.com/badge/github.com/augustoroman/v8)](https://goreportcard.com/report/github.com/augustoroman/v8) [![GoDoc](https://godoc.org/github.com/augustoroman/v8?status.svg)](https://godoc.org/github.com/augustoroman/v8) 2 | 3 | The v8 bindings allow a user to execute javascript from within a go executable. 4 | 5 | The bindings are tested to work with several recent v8 builds matching the 6 | Chrome builds 54 - 60 (see the .travis.yml file for specific versions). For 7 | example, Chrome 59 (dev branch) uses v8 5.9.211.4 when this was written. 8 | 9 | Note that v8 releases match the Chrome release timeline: 10 | Chrome 48 corresponds to v8 4.8.\*, Chrome 49 matches v8 4.9.\*. You can see 11 | the table of current chrome and the associated v8 releases at: 12 | 13 | http://omahaproxy.appspot.com/ 14 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/hooks/log.after/10_bamboo_log: -------------------------------------------------------------------------------- 1 | /home/work/_app/_jira_bamboo/logs/catalina.out -------------------------------------------------------------------------------- /ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/hooks/supervisord-pre.d/10_bamboo_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start bamboo..." 5 | /home/work/_app/_jira_bamboo/bin/start-bamboo.sh 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-decoder-v2-3.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-decoder-v2-3.3.0.jar -------------------------------------------------------------------------------- /ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-legacy-3.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-legacy-3.3.0.jar -------------------------------------------------------------------------------- /ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/usr/src/_bamboo/crowd-integration-client-3.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-golang1.11.2-jira-bamboo/6.7.1/files/usr/src/_bamboo/crowd-integration-client-3.3.2.jar -------------------------------------------------------------------------------- /ubuntu16.04-golang1.9-revel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/ubuntu16.04-golang:1.9 2 | MAINTAINER lion 3 | 4 | 5 | COPY files/ / 6 | 7 | # ----------------------------------------------------------------------------- 8 | # Quick Start revel 9 | # ----------------------------------------------------------------------------- 10 | RUN cd $GOPATH \ 11 | && go get -u github.com/revel/cmd/revel \ 12 | && revel new github.com/idoall.org/my-app \ 13 | && sed -i "s/http.port = 9000/http.port = 8080/" $GOPATH/src/github.com/idoall.org/my-app/conf/app.conf 14 | 15 | # ----------------------------------------------------------------------------- 16 | # 映射端口 17 | # ----------------------------------------------------------------------------- 18 | EXPOSE 80 8080 19 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.9-revel/files/hooks/supervisord-pre.d/30_revel-demo-setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/revel.ini" 5 | cp -r /etc/_supervisord/revel.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.9-snowflake/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/ubuntu16.04-golang:1.9 2 | MAINTAINER lion 3 | 4 | COPY files/ / 5 | 6 | RUN go install github.com/idoall/docker/snowflake/cmd/snowflake \ 7 | && chown -R work:work /home/work/* 8 | 9 | ENV PORT 80 10 | 11 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.9-snowflake/files/home/work/_project/golang/src/github.com/idoall/docker/snowflake/client_test.go: -------------------------------------------------------------------------------- 1 | package snowflake 2 | 3 | import ( 4 | "net/http" 5 | "net/http/httptest" 6 | "testing" 7 | ) 8 | 9 | func TestHttpFactory(t *testing.T) { 10 | maxN := 512 11 | handler := makeHandler(Mock, maxN) 12 | router := http.NewServeMux() 13 | router.Handle("/10/13", handler) 14 | 15 | fn := func(req *http.Request) (*http.Response, error) { 16 | recorder := httptest.NewRecorder() 17 | router.ServeHTTP(recorder, req) 18 | return recorder.Result(), nil 19 | } 20 | 21 | remoteFactory, err := NewClient(WithDoFunc(fn)) 22 | if err != nil { 23 | t.Error("Unable to create HttpFactory") 24 | } 25 | 26 | client := NewBufferedClient(remoteFactory) 27 | 28 | uniques := map[int64]int64{} 29 | iterations := maxN * 32 30 | for i := 0; i < iterations; i++ { 31 | id := client.Id() 32 | uniques[id] = id 33 | } 34 | client.Close() 35 | 36 | if v := len(uniques); v != iterations { 37 | t.Errorf("expected %v; got %v\n", iterations, v) 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ubuntu16.04-golang1.9-snowflake/files/hooks/supervisord-pre.d/02_snowflake_setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | /home/work/_app/go1.9/bin/snowflake -------------------------------------------------------------------------------- /ubuntu16.04-jdk/10/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.9 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu16.04-golang:1.4`](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd ubuntu16.04-jdk/10 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-jdk:10 . 22 | 23 | # view version 24 | docker run -it --name=idoall_jdk --rm idoall/ubuntu16.04-jdk:10 java -version 25 | 26 | # Run 27 | docker run -d --name=idoall_jdk idoall/ubuntu16.04-jdk:10 28 | 29 | # access the contain 30 | docker exec -it idoall_jdk /bin/bash 31 | ``` 32 | -------------------------------------------------------------------------------- /ubuntu16.04-jdk/8.0.112/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/ubuntu:16.04 2 | MAINTAINER lion 3 | 4 | ARG DEBIAN_FRONTEND=noninteractive 5 | 6 | # ----------------------------------------------------------------------------- 7 | # 安装java8环境 8 | # ----------------------------------------------------------------------------- 9 | RUN mkdir -p /home/work/_src/ \ 10 | && axel -n 10 -o /home/work/_src/ https://cdn.azul.com/zulu/bin/zulu8.19.0.1-jdk8.0.112-linux_x64.tar.gz \ 11 | && cd /home/work/_src \ 12 | && mkdir -p /usr/lib/jvm/jdk8 \ 13 | && tar zxvf zulu8.19.0.1-jdk8.0.112-linux_x64.tar.gz \ 14 | && mv zulu8.19.0.1-jdk8.0.112-linux_x64/* /usr/lib/jvm/jdk8 15 | 16 | # ----------------------------------------------------------------------------- 17 | # 设置环境变量 18 | # ----------------------------------------------------------------------------- 19 | ENV JAVA_HOME /usr/lib/jvm/jdk8 20 | ENV JRE_HOME $JAVA_HOME/jre 21 | ENV CLASSPATH $JRE_HOME/lib 22 | ENV PATH $JAVA_HOME/bin:$PATH -------------------------------------------------------------------------------- /ubuntu16.04-jdk/8.0.112/README.md: -------------------------------------------------------------------------------- 1 | 2 | docker-ubuntu16.04-golang1.9 3 | ============= 4 | 5 | 6 | This repository contains the sources for the following [docker](https://docker.io) base images: 7 | - [`idoall/ubuntu16.04-golang:1.4`](https://hub.docker.com/r/idoall/ubuntu16.04-golang/) 8 | 9 | > A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! 10 | 11 | ## Developing 12 | 13 | ```bash 14 | # Pull image 15 | git clone https://github.com/idoall/docker.git 16 | cd ubuntu16.04-jdk/8.0.112 17 | 18 | # hack hack hack 19 | 20 | # Build 21 | docker build -t idoall/ubuntu16.04-jdk:8.0.112 . 22 | 23 | # view version 24 | docker run -it --name=idoall_jdk --rm idoall/ubuntu16.04-jdk:8.0.112 java -version 25 | 26 | # Run 27 | docker run -d --name=idoall_jdk idoall/ubuntu16.04-jdk:8.0.112 28 | 29 | # access the contain 30 | docker exec -it idoall_jdk /bin/bash 31 | ``` 32 | -------------------------------------------------------------------------------- /ubuntu16.04-jdk/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/ubuntu:16.04`](https://hub.docker.com/r/idoall/ubuntu/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`8.0.112`(*8.0.112/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu16.04-jdk/8.0.112/Dockerfile) 10 | 11 | - [`10`(*10/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu16.04-jdk/10/Dockerfile) 12 | 13 | ​ 14 | 15 | ## Developing 16 | 17 | ```bash 18 | 19 | # view version 20 | docker run -it --name=idoall_jdk --rm idoall/ubuntu16.04-jdk: java -version 21 | 22 | # Run 23 | docker run -d --name=idoall_jdk idoall/ubuntu16.04-jdk: 24 | 25 | # access the contain 26 | docker exec -it idoall_jdk /bin/bash 27 | ``` 28 | -------------------------------------------------------------------------------- /ubuntu16.04-jdk10-confluence/6.12.2/files/home/work/_script/confluence-install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | 3 | #一直等待程序的输入 4 | set timeout -1 5 | 6 | #设置变量 7 | set will_install o 8 | set express_install 1 9 | set install_as_service i 10 | 11 | # 启动安装程序 12 | spawn /home/work/_src/confluence.bin 13 | 14 | expect { 15 | "o, Enter" { send "o\r";exp_continue} 16 | "uses default settings" { send "1\r";exp_continue } 17 | "i, Enter" { send "i\r";exp_continue } 18 | "y, Enter" { send "y\r" } 19 | } 20 | 21 | 22 | expect eof 23 | exit -------------------------------------------------------------------------------- /ubuntu16.04-jdk10-confluence/6.12.2/files/hooks/log.after/10_confluence_log: -------------------------------------------------------------------------------- 1 | /opt/atlassian/confluence/logs/catalina.out -------------------------------------------------------------------------------- /ubuntu16.04-jdk10-confluence/6.12.2/files/hooks/supervisord-pre.d/10_confluence_restart: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start confluence..." 5 | service confluence restart 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jdk10-confluence/6.12.2/files/usr/src/_confluence/confluence_keygen.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jdk10-confluence/6.12.2/files/usr/src/_confluence/confluence_keygen.jar -------------------------------------------------------------------------------- /ubuntu16.04-jdk10-confluence/6.12.2/files/usr/src/_confluence/mysql-connector-java-5.1.47-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jdk10-confluence/6.12.2/files/usr/src/_confluence/mysql-connector-java-5.1.47-bin.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-bamboo/6.7.1/files/hooks/log.after/10_bamboo_log: -------------------------------------------------------------------------------- 1 | /home/work/_app/_jira_bamboo/logs/catalina.out -------------------------------------------------------------------------------- /ubuntu16.04-jira-bamboo/6.7.1/files/hooks/supervisord-pre.d/10_bamboo_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start bamboo..." 5 | /home/work/_app/_jira_bamboo/bin/start-bamboo.sh 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-decoder-v2-3.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-decoder-v2-3.3.0.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-legacy-3.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-bamboo/6.7.1/files/usr/src/_bamboo/atlassian-extras-legacy-3.3.0.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-bamboo/6.7.1/files/usr/src/_bamboo/crowd-integration-client-3.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-bamboo/6.7.1/files/usr/src/_bamboo/crowd-integration-client-3.3.2.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-core/7.12.3/files/home/work/_script/jira-install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | 3 | #一直等待程序的输入 4 | set timeout -1 5 | 6 | #设置变量 7 | set will_install o 8 | set express_install 1 9 | set install_as_service i 10 | 11 | # 启动安装程序 12 | spawn /home/work/_src/jira.bin 13 | 14 | expect { 15 | "o, Enter" { send "o\r";exp_continue} 16 | "use default settings" { send "1\r";exp_continue } 17 | "i, Enter" { send "i\r";exp_continue } 18 | "y, Enter" { send "y\r" } 19 | } 20 | 21 | 22 | expect eof 23 | exit -------------------------------------------------------------------------------- /ubuntu16.04-jira-core/7.12.3/files/hooks/log.after/10_jira_log: -------------------------------------------------------------------------------- 1 | /opt/atlassian/jira/logs/catalina.out -------------------------------------------------------------------------------- /ubuntu16.04-jira-core/7.12.3/files/hooks/supervisord-pre.d/10_jira_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start jira..." 5 | service jira start 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira-core/7.12.3/files/usr/src/_jira/atlassian-extras-3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-core/7.12.3/files/usr/src/_jira/atlassian-extras-3.2.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-crowd/3.3.2/files/hooks/log.after/10_crowd_log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-crowd/3.3.2/files/hooks/log.after/10_crowd_log -------------------------------------------------------------------------------- /ubuntu16.04-jira-crowd/3.3.2/files/hooks/supervisord-pre.d/10_crowd_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start crowd..." 5 | /home/work/_app/_jira_crowd/start_crowd.sh 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira-crowd/3.3.2/files/usr/src/_crowd/crowd_keygen.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-crowd/3.3.2/files/usr/src/_crowd/crowd_keygen.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-crucible/4.6.1/files/hooks/log.after/10_crucible_log: -------------------------------------------------------------------------------- 1 | /home/work/_data/_jira_crucible/var/log/fisheye.out -------------------------------------------------------------------------------- /ubuntu16.04-jira-crucible/4.6.1/files/hooks/supervisord-pre.d/10_crucible_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start crucible..." 5 | /home/work/_app/_jira_crucible/bin/start.sh 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira-crucible/4.6.1/files/usr/src/_crucible/crucible_keygen.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-crucible/4.6.1/files/usr/src/_crucible/crucible_keygen.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-fisheye/4.6.1/files/hooks/log.after/10_fisheye_log: -------------------------------------------------------------------------------- 1 | /home/work/_data/_jira_fisheye/var/log/fisheye.out -------------------------------------------------------------------------------- /ubuntu16.04-jira-fisheye/4.6.1/files/hooks/supervisord-pre.d/10_fisheye_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start fisheye..." 5 | /home/work/_app/_jira_fisheye/bin/start.sh 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira-fisheye/4.6.1/files/usr/src/_fisheye/fisheye_keygen.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-fisheye/4.6.1/files/usr/src/_fisheye/fisheye_keygen.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-software/7.12.3/files/home/work/_script/jira-install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | 3 | #一直等待程序的输入 4 | set timeout -1 5 | 6 | #设置变量 7 | set will_install o 8 | set express_install 1 9 | set install_as_service i 10 | 11 | # 启动安装程序 12 | spawn /home/work/_src/jira.bin 13 | 14 | expect { 15 | "o, Enter" { send "o\r";exp_continue} 16 | "use default settings" { send "1\r";exp_continue } 17 | "i, Enter" { send "i\r";exp_continue } 18 | "y, Enter" { send "y\r" } 19 | } 20 | 21 | 22 | expect eof 23 | exit -------------------------------------------------------------------------------- /ubuntu16.04-jira-software/7.12.3/files/hooks/log.after/10_jira_log: -------------------------------------------------------------------------------- 1 | /opt/atlassian/jira/logs/catalina.out -------------------------------------------------------------------------------- /ubuntu16.04-jira-software/7.12.3/files/hooks/supervisord-pre.d/10_jira_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "start jira..." 5 | service jira start 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira-software/7.12.3/files/usr/src/_jira/atlassian-extras-3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-software/7.12.3/files/usr/src/_jira/atlassian-extras-3.2.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira-software/7.12.3/files/usr/src/_jira/atlassian-universal-plugin-manager-plugin-2.22.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira-software/7.12.3/files/usr/src/_jira/atlassian-universal-plugin-manager-plugin-2.22.9.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira/7.2.7/JIRA Core-7.2.7-language-pack-zh_CN.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira/7.2.7/JIRA Core-7.2.7-language-pack-zh_CN.jar -------------------------------------------------------------------------------- /ubuntu16.04-jira/7.2.7/files/etc/_supervisord/jira.ini: -------------------------------------------------------------------------------- 1 | [program:jira] 2 | command = /hooks/supervisord-pre.d/10_jira_setup ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_jira.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-jira/7.2.7/files/home/work/_script/jira-install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | 3 | #一直等待程序的输入 4 | set timeout -1 5 | 6 | #设置变量 7 | set will_install o 8 | set express_install 1 9 | set install_as_service i 10 | 11 | # 启动安装程序 12 | spawn /usr/src/_jira/atlassian-jira-software-7.2.7-x64.bin 13 | 14 | expect { 15 | "o, Enter" { send "o\r";exp_continue} 16 | "use default settings" { send "1\r";exp_continue } 17 | "i, Enter" { send "i\r";exp_continue } 18 | "y, Enter" { send "y\r" } 19 | } 20 | 21 | 22 | expect eof 23 | exit -------------------------------------------------------------------------------- /ubuntu16.04-jira/7.2.7/files/hooks/supervisord-pre.d/11_jira_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/jira.ini" 5 | cp -r /etc/_supervisord/jira.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-jira/7.2.7/files/usr/src/_jira/jira7.2_hack.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-jira/7.2.7/files/usr/src/_jira/jira7.2_hack.zip -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.12.1/files/etc/_supervisord/nginx.ini: -------------------------------------------------------------------------------- 1 | [program:nginx] 2 | command = /home/work/_app/nginx/sbin/nginx ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_nginx.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.12.1/files/hooks/entrypoint-pre.d/01_nginx_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf" 9 | mkdir -p /home/work/_app/nginx/conf/conf.d/ 10 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.12.1/files/hooks/entrypoint-pre.d/02_nginx_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/nginx.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.12.1/files/hooks/log.after/01_nginx_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/nginx/default.access.log 2 | /home/work/_logs/nginx/default.error.log 3 | /home/work/_logs/nginx/error.log -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.18.0/files/etc/_supervisord/nginx.ini: -------------------------------------------------------------------------------- 1 | [program:nginx] 2 | command = /home/work/_app/nginx/sbin/nginx ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_nginx.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.18.0/files/hooks/entrypoint-pre.d/01_nginx_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf" 9 | mkdir -p /home/work/_app/nginx/conf/conf.d/ 10 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.18.0/files/hooks/entrypoint-pre.d/02_nginx_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/nginx.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-nginx/1.18.0/files/hooks/log.after/01_nginx_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/nginx/default.access.log 2 | /home/work/_logs/nginx/default.error.log 3 | /home/work/_logs/nginx/error.log -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.12.1-php/7.1.9/files/etc/_supervisord/php.ini: -------------------------------------------------------------------------------- 1 | [program:php7-fpm] 2 | command = /home/work/_app/php7.1.9/sbin/php-fpm -F ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 9 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 10 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 11 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 12 | stdout_logfile = /home/work/_logs/supervisord/supervisord_php.log 13 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 14 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.12.1-php/7.1.9/files/hooks/entrypoint-pre.d/32_php_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/php.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.12.1-php/7.1.9/files/hooks/entrypoint-pre.d/33_nginx_php_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying conf.d/default.conf(php)" 5 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.12.1-php/7.1.9/files/hooks/log.after/01_php_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/php/php-fpm.error.log 2 | /home/work/_logs/php/fpm-php.slow.log 3 | /home/work/_logs/php/php.access.log 4 | /home/work/_logs/supervisord/supervisord_php.log -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.18.0-php/7.4.9/files/etc/_supervisord/php.ini: -------------------------------------------------------------------------------- 1 | [program:php7-fpm] 2 | command = /home/work/_app/php7.4.9/sbin/php-fpm -F ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 9 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 10 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 11 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 12 | stdout_logfile = /home/work/_logs/supervisord/supervisord_php.log 13 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 14 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.18.0-php/7.4.9/files/hooks/entrypoint-pre.d/32_php_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/php.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.18.0-php/7.4.9/files/hooks/entrypoint-pre.d/33_nginx_php_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying conf.d/default.conf(php)" 5 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-nginx1.18.0-php/7.4.9/files/hooks/log.after/01_php_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/php/php-fpm.error.log 2 | /home/work/_logs/php/fpm-php.slow.log 3 | /home/work/_logs/php/php.access.log 4 | /home/work/_logs/supervisord/supervisord_php.log -------------------------------------------------------------------------------- /ubuntu16.04-sshd/README.md: -------------------------------------------------------------------------------- 1 | # 目录 2 | 3 | [TOC] 4 | 5 | # Docker-SSHD-Ubuntu/16.04 6 | 7 | 8 | This repository contains the sources for the following [docker](https://docker.io) base images: 9 | - [`ubuntu:16.04`](https://hub.docker.com/r/idoall/ubuntu/) 10 | 11 | 12 | ## Developing 13 | 14 | ```bash 15 | # Pull image 16 | git clone https://github.com/idoall/docker.git 17 | cd ubuntu16.04-sshd 18 | 19 | # hack hack hack 20 | 21 | # build 22 | docker build -t idoall/ubuntu16.04-sshd . 23 | 24 | # run 25 | docker run -d \ 26 | --name sshd \ 27 | --hostname sshd \ 28 | -p 2222:2222 \ 29 | idoall/ubuntu16.04-sshd 30 | 31 | 32 | # access the contain 33 | docker exec -it sshd /bin/bash 34 | 35 | 36 | # ssh user:work password:123456 37 | ssh work@ -p 2222 38 | 39 | ``` -------------------------------------------------------------------------------- /ubuntu16.04-sshd/files/etc/_sshd/sshd.ini: -------------------------------------------------------------------------------- 1 | [program:sshd] 2 | directory = /usr/sbin/ ; 程序的启动目录 3 | command = /usr/sbin/sshd -D ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 3 ; 启动失败自动重试次数,默认是 3 8 | user = root ; 用哪个用户启动 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_sshd.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-sshd/files/hooks/log.after/01_sshd_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord_sshd.log -------------------------------------------------------------------------------- /ubuntu16.04-sshd/files/hooks/supervisord-pre.d/01_sshd_setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # As /etc/ssh is mounted from a persistent volume, need to copy sshd_config there 5 | cp -f /sshd_config /etc/ssh 6 | echo "copying sshd_config" 7 | 8 | 9 | cp -f /etc/_sshd/sshd.ini /home/work/_app/supervisord/conf.d/ 10 | echo "copying supervisord/conf.d/sshd.ini" -------------------------------------------------------------------------------- /ubuntu16.04-tengine/2.2.0/files/etc/_supervisord/nginx.ini: -------------------------------------------------------------------------------- 1 | [program:nginx] 2 | command = /home/work/_app/nginx/sbin/nginx ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_nginx.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-tengine/2.2.0/files/hooks/entrypoint-pre.d/01_nginx_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf" 9 | mkdir -p /home/work/_app/nginx/conf/conf.d/ 10 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-tengine/2.2.0/files/hooks/entrypoint-pre.d/02_nginx_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/nginx.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-tengine/2.2.0/files/hooks/log.after/01_nginx_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/nginx/default.access.log 2 | /home/work/_logs/nginx/default.error.log 3 | /home/work/_logs/nginx/error.log -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.1.9/files/etc/_supervisord/php.ini: -------------------------------------------------------------------------------- 1 | [program:php7-fpm] 2 | command = /home/work/_app/php7.1.9/sbin/php-fpm -F ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 9 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 10 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 11 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 12 | stdout_logfile = /home/work/_logs/supervisord/supervisord_php.log 13 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 14 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.1.9/files/hooks/entrypoint-pre.d/32_php_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/php.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.1.9/files/hooks/entrypoint-pre.d/33_nginx_php_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf(php)" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf(php)" 9 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.1.9/files/hooks/log.after/01_php_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/php/php-fpm.error.log 2 | /home/work/_logs/php/fpm-php.slow.log 3 | /home/work/_logs/php/php.access.log 4 | /home/work/_logs/supervisord/supervisord_php.log -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.4.9/files/etc/_supervisord/php.ini: -------------------------------------------------------------------------------- 1 | [program:php7-fpm] 2 | command = /home/work/_app/php7.4.9/sbin/php-fpm -F ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 9 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 10 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 11 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 12 | stdout_logfile = /home/work/_logs/supervisord/supervisord_php.log 13 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 14 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.4.9/files/hooks/entrypoint-pre.d/32_php_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/php.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.4.9/files/hooks/entrypoint-pre.d/33_nginx_php_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf(php)" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf(php)" 9 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/7.4.9/files/hooks/log.after/01_php_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/php/php-fpm.error.log 2 | /home/work/_logs/php/fpm-php.slow.log 3 | /home/work/_logs/php/php.access.log 4 | /home/work/_logs/supervisord/supervisord_php.log -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/ubuntu16.04-tengine:2.2`](https://hub.docker.com/r/idoall/ubuntu16.04-tengine/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`7.1.9`(*7.1.9/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu16.04-tengine2.2.0-php/7.1.9/Dockerfile) 10 | 11 | ​ 12 | 13 | -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki/2018-04-22a/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/ubuntu16.04-tengine2.2.0-php:7.1.9 2 | MAINTAINER lion 3 | 4 | ENV DOKUWIKI_VERSION 2018-04-2a 5 | ENV DOKUWIKI_HASH 8a269cc015a64b40e4c918699f1e1142 6 | 7 | 8 | RUN wget -O /home/work/_src/dokuwiki.tgz https://download.dokuwiki.org/out/dokuwiki-$DOKUWIKI_HASH.tgz \ 9 | && cd /home/work/_src \ 10 | && tar xzvf dokuwiki.tgz \ 11 | && mv dokuwiki/* /home/work/_app/nginx/html 12 | 13 | 14 | # ----------------------------------------------------------------------------- 15 | # 清除 16 | # ----------------------------------------------------------------------------- 17 | RUN chmod 755 /hooks \ 18 | && chown -R work:work /home/work/* \ 19 | && apt-get -y clean \ 20 | && rm -rf /var/lib/apt/lists/* \ 21 | && rm -rf /var/cache/apt/archives/apt-fast/* \ 22 | && rm -rf /home/work/_src/* -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/ubuntu16.04-tengine2.2.0-php:7.1.9 2 | MAINTAINER lion 3 | 4 | ENV DOKUWIKI_VERSION 2017-02-19e 5 | 6 | 7 | RUN wget -O /home/work/_src/dokuwiki.tgz https://download.dokuwiki.org/src/dokuwiki/dokuwiki-$DOKUWIKI_VERSION.tgz \ 8 | && cd /home/work/_src \ 9 | && tar xzvf dokuwiki.tgz \ 10 | && mv dokuwiki-$DOKUWIKI_VERSION/* /home/work/_app/nginx/html 11 | 12 | 13 | # ----------------------------------------------------------------------------- 14 | # 清除 15 | # ----------------------------------------------------------------------------- 16 | RUN chmod 755 /hooks \ 17 | && chown -R work:work /home/work/* \ 18 | && apt-get -y clean \ 19 | && rm -rf /var/lib/apt/lists/* \ 20 | && rm -rf /var/cache/apt/archives/apt-fast/* \ 21 | && rm -rf /home/work/_src/* -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-fis3/demo.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-tengine2.2.0-php7.1.9-fis3/demo.tar.gz -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-fis3/files/hooks/log.after/02_fis3_log: -------------------------------------------------------------------------------- 1 | /root/.fis3-tmp/www/app.log 2 | /root/.fis3-tmp/www/server.log -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-fis3/server_env.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idoall/docker/762b7c36d705118971f6792b5888907753b6e8f5/ubuntu16.04-tengine2.2.0-php7.1.9-fis3/server_env.tar.gz -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-walle-web/1.2.0/files/etc/_supervisord/walle.ini: -------------------------------------------------------------------------------- 1 | [program:walle-web] 2 | directory = /home/work/_script/ ; 程序的启动目录 3 | command = /home/work/_script/walle-web-init.sh ; 启动命令,可以看出与手动在命令行启动的命令是一样的 4 | autostart = true ; 在 supervisord 启动的时候也自动启动 5 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 6 | autorestart = true ; 程序异常退出后自动重启 7 | startretries = 10 ; 启动失败自动重试次数,默认是 30 8 | user = root ; 用哪个用户启动 9 | redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_walle_web.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] 16 | 17 | -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-walle-web/1.2.0/files/hooks/log.after/40_supervisord_walle: -------------------------------------------------------------------------------- 1 | /home/work/_logs/supervisord/supervisord_walle_web.log -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-walle-web/1.2.0/files/hooks/supervisord-pre.d/40_walle-web_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | #echo "copying conf.d/default.conf" 5 | #cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-zentao/10.5.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM idoall/ubuntu16.04-tengine2.2.0-php:7.1.9 2 | MAINTAINER lion 3 | 4 | ENV ZENTAO_VERSION 10.5.1 5 | 6 | RUN mkdir -p /home/work/_app/php7.1.9/session \ 7 | && chmod o=rwx -R /home/work/_app/php7.1.9/session 8 | 9 | RUN wget -O /home/work/_src/zenTaoPMS.zip http://dl.cnezsoft.com/zentao/10.5.1/ZenTaoPMS.$ZENTAO_VERSION.zip \ 10 | && cd /home/work/_src \ 11 | && unzip zenTaoPMS.zip \ 12 | && mv zentaopms/* /home/work/_app/nginx/html 13 | 14 | 15 | # ----------------------------------------------------------------------------- 16 | # 清除 17 | # ----------------------------------------------------------------------------- 18 | RUN chmod 755 /hooks \ 19 | && chown -R work:work /home/work/* \ 20 | && apt-get -y clean \ 21 | && rm -rf /var/lib/apt/lists/* \ 22 | && rm -rf /var/cache/apt/archives/apt-fast/* \ 23 | && rm -rf /home/work/_src/* -------------------------------------------------------------------------------- /ubuntu16.04-tengine2.2.0-php7.1.9-zentao/README.md: -------------------------------------------------------------------------------- 1 | # 关于禅道开源版本的封装 -------------------------------------------------------------------------------- /ubuntu18.04-lede/20200416/files/hooks/supervisord-pre.d/01_lede_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying .config" 5 | #cp -r /src/lede/.config /home/work/_src/lede/ 6 | 7 | echo "copying banner" 8 | #cp -r /src/lede/banner /home/work/_src/lede/package/base-files/files/etc/banner 9 | -------------------------------------------------------------------------------- /ubuntu18.04-lede/20200416/files/src/lede/banner: -------------------------------------------------------------------------------- 1 | __ __ ____ _ _ _ __ _____ ___ ____ 2 | | \/ | / ___| | | | | | |/ / |_ _/ _ \| _ \ 3 | | |\/| | \___ \ | |_| | | ' / | || | | | |_) | 4 | | | | | ___) || _ | | . \ _ | || |_| | __/ 5 | |_| |_| \____/ |_| |_| |_|\_\ (_)|_| \___/|_| 6 | ----------------------------------------------------- 7 | %D %V, %C 8 | ----------------------------------------------------- 9 | -------------------------------------------------------------------------------- /ubuntu18.04-lede/20200416/files/src/lede/feeds.conf.default: -------------------------------------------------------------------------------- 1 | src-git packages https://github.com/coolsnowwolf/packages 2 | src-git luci https://github.com/coolsnowwolf/luci 3 | src-git routing https://git.openwrt.org/feed/routing.git;openwrt-19.07 4 | #src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-19.07 5 | src-git kenzo https://github.com/kenzok8/openwrt-packages 6 | src-git small https://github.com/kenzok8/small 7 | src-git helloworld https://github.com/fw876/helloworld -------------------------------------------------------------------------------- /ubuntu18.04-lede/20200908/files/hooks/supervisord-pre.d/01_lede_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying .config" 5 | #cp -r /src/lede/.config /home/work/_src/lede/ 6 | 7 | echo "copying banner" 8 | #cp -r /src/lede/banner /home/work/_src/lede/package/base-files/files/etc/banner 9 | -------------------------------------------------------------------------------- /ubuntu18.04-lede/20200908/files/src/lede/banner: -------------------------------------------------------------------------------- 1 | __ __ ____ _ _ _ __ _____ ___ ____ 2 | | \/ | / ___| | | | | | |/ / |_ _/ _ \| _ \ 3 | | |\/| | \___ \ | |_| | | ' / | || | | | |_) | 4 | | | | | ___) || _ | | . \ _ | || |_| | __/ 5 | |_| |_| \____/ |_| |_| |_|\_\ (_)|_| \___/|_| 6 | ----------------------------------------------------- 7 | %D %V, %C 8 | ----------------------------------------------------- 9 | -------------------------------------------------------------------------------- /ubuntu18.04-lede/20200908/files/src/lede/feeds.conf.default: -------------------------------------------------------------------------------- 1 | src-git packages https://github.com/coolsnowwolf/packages 2 | src-git luci https://github.com/coolsnowwolf/luci 3 | src-git routing https://git.openwrt.org/feed/routing.git 4 | src-git telephony https://git.openwrt.org/feed/telephony.git 5 | src-git freifunk https://github.com/freifunk/openwrt-packages.git 6 | #src-git video https://github.com/openwrt/video.git 7 | #src-git targets https://github.com/openwrt/targets.git 8 | #src-git management https://github.com/openwrt-management/packages.git 9 | #src-git oldpackages http://git.openwrt.org/packages.git 10 | #src-link custom /usr/src/openwrt/custom-feed 11 | #src-git helloworld https://github.com/fw876/helloworld 12 | src-git kenzo https://github.com/kenzok8/openwrt-packages 13 | src-git small https://github.com/kenzok8/small 14 | -------------------------------------------------------------------------------- /ubuntu18.04-lede/README.md: -------------------------------------------------------------------------------- 1 | This repository contains the sources for the following [docker](https://docker.io) base images: 2 | 3 | - [`idoall/ubuntu:18.04`](https://hub.docker.com/r/idoall/ubuntu/) 4 | 5 | 6 | 7 | # Supported tags and respective `Dockerfile` links 8 | 9 | - [`20200416`(*20200416/Dockerfile*)](https://github.com/idoall/docker/blob/master/ubuntu18.04-LEDE/20200416/Dockerfile) 10 | 11 | 12 | ​ 13 | 14 | ## Developing 15 | 16 | ```bash 17 | 18 | # view version 19 | docker run -it --name=mshk-lede --rm idoall/ubuntu18.04-LEDE: LEDE -version 20 | 21 | # Run 22 | docker run -d --name=mshk-lede idoall/ubuntu18.04-LEDE: 23 | 24 | # access the contain 25 | docker exec -it mshk-lede /bin/bash 26 | ``` 27 | -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx/1.18.0/files/etc/_supervisord/nginx.ini: -------------------------------------------------------------------------------- 1 | [program:nginx] 2 | command = /home/work/_app/nginx/sbin/nginx ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 3 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | # Redirect output so we can see it using "docker logs" 9 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 10 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 11 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 12 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 13 | stdout_logfile = /home/work/_logs/supervisord/supervisord_nginx.log 14 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 15 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx/1.18.0/files/hooks/entrypoint-pre.d/01_nginx_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying nginx.conf" 5 | cp -r /etc/_nginx/nginx.conf /home/work/_app/nginx/conf/ 6 | 7 | 8 | echo "copying conf.d/default.conf" 9 | mkdir -p /home/work/_app/nginx/conf/conf.d/ 10 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx/1.18.0/files/hooks/entrypoint-pre.d/02_nginx_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/nginx.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx/1.18.0/files/hooks/log.after/01_nginx_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/nginx/default.access.log 2 | /home/work/_logs/nginx/default.error.log 3 | /home/work/_logs/nginx/error.log -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx1.18.0-php/7.4.9/files/etc/_supervisord/php.ini: -------------------------------------------------------------------------------- 1 | [program:php7-fpm] 2 | command = /home/work/_app/php7.4.9/sbin/php-fpm -F ; 启动命令,可以看出与手动在命令行启动的命令是一样的 3 | autostart = true ; 在 supervisord 启动的时候也自动启动 4 | startsecs = 5 ; 启动 5 秒后没有异常退出,就当作已经正常启动了 5 | autorestart = true ; 程序异常退出后自动重启 6 | startretries = 3 ; 启动失败自动重试次数,默认是 3 7 | user = root ; 用哪个用户启动 8 | ;redirect_stderr = true ; 把 stderr 重定向到 stdout,默认 false 9 | stdout_logfile_maxbytes = 20MB ; stdout 日志文件大小,默认 50MB 10 | stdout_logfile_backups = 20 ; stdout 日志文件备份数 11 | ; stdout 日志文件,需要注意当指定目录不存在时无法正常启动,所以需要手动创建目录(supervisord 会自动创建日志文件) 12 | stdout_logfile = /home/work/_logs/supervisord/supervisord_php.log 13 | ; 可以通过 environment 来添加需要的环境变量,一种常见的用法是修改 PYTHONPATH 14 | ; environment=PYTHONPATH=$PYTHONPATH:/path/to/somewhereMD ["/run.sh"] -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx1.18.0-php/7.4.9/files/hooks/entrypoint-pre.d/32_php_setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying supervisord/nginx.ini" 5 | cp -r /etc/_supervisord/php.ini /home/work/_app/supervisord/conf.d/ 6 | 7 | -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx1.18.0-php/7.4.9/files/hooks/entrypoint-pre.d/33_nginx_php_conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | echo "copying conf.d/default.conf(php)" 5 | cp -r /etc/_nginx/conf.d/default.conf /home/work/_app/nginx/conf/conf.d/ -------------------------------------------------------------------------------- /ubuntu18.04.5-nginx1.18.0-php/7.4.9/files/hooks/log.after/01_php_log: -------------------------------------------------------------------------------- 1 | /home/work/_logs/php/php-fpm.error.log 2 | /home/work/_logs/php/fpm-php.slow.log 3 | /home/work/_logs/php/php.access.log 4 | /home/work/_logs/supervisord/supervisord_php.log -------------------------------------------------------------------------------- /whoami/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:alpine3.6 AS binary 2 | ADD . /app 3 | WORKDIR /app 4 | RUN go build -o http 5 | 6 | FROM alpine:3.6 7 | WORKDIR /app 8 | ENV PORT 80 9 | EXPOSE 80 10 | COPY --from=binary /app/http /app 11 | CMD ["/app/http"] -------------------------------------------------------------------------------- /whoami/README.md: -------------------------------------------------------------------------------- 1 | # whoami 2 | 3 | Simple HTTP docker service that prints it's container ID 4 | 5 | ### Usage on single node (without Docker Swarm mode) 6 | 7 | ``` 8 | $ docker run -d -p 80:80 --name whoami -t idoall/whoami 9 | 4ad37f141b8cd198b9832d59a7c6ef133c87dc0aa4d7c1f7d561af84213863d0 10 | 11 | $ curl localhost 12 | [mshk.top]I'm 4ad37f141b8c 13 | ``` 14 | 15 | ### Developing 16 | 17 | ```bash 18 | # Pull image 19 | git clone https://github.com/idoall/docker.git 20 | cd whoami 21 | 22 | # hack hack hack 23 | 24 | # build 25 | docker build -t idoall/whoami . 26 | 27 | # run 28 | docker run -d -p 80:80 --name whoami -t idoall/whoami 29 | 30 | 31 | docker run -it \ 32 | --rm \ 33 | --name whoami \ 34 | -p 8080:80 \ 35 | idoall/whoami 36 | 37 | 38 | 39 | # Open http://localhost/ in your browser 40 | ``` -------------------------------------------------------------------------------- /whoami/http.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "log" 6 | "net/http" 7 | "os" 8 | ) 9 | 10 | func main() { 11 | port := os.Getenv("PORT") 12 | if port == "" { 13 | port = "80" 14 | } 15 | 16 | fmt.Fprintf(os.Stdout, "Listening on :%s\n", port) 17 | hostname, _ := os.Hostname() 18 | http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { 19 | fmt.Fprintf(os.Stdout, "I'm %s\n", hostname) 20 | fmt.Fprintf(w, "[mshk.top]I'm %s\n", hostname) 21 | }) 22 | 23 | log.Fatal(http.ListenAndServe(":"+port, nil)) 24 | } 25 | --------------------------------------------------------------------------------