appendix/repo目录下语法格式修改

pull/154/head
mzeht 2017-02-07 22:04:05 +08:00
parent 5bc5219fa2
commit 25178fd616
7 changed files with 19 additions and 9 deletions

View File

@ -56,3 +56,5 @@ LABEL name="CentOS Base Image" \
CMD ["/bin/bash"] CMD ["/bin/bash"]
``` ```

View File

@ -261,3 +261,4 @@ ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 27017 EXPOSE 27017
CMD ["mongod"] CMD ["mongod"]
``` ```

View File

@ -122,3 +122,5 @@ ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 3306 EXPOSE 3306
CMD ["mysqld", "--datadir=/var/lib/mysql", "--user=mysql"] CMD ["mysqld", "--datadir=/var/lib/mysql", "--user=mysql"]
``` ```

View File

@ -99,3 +99,5 @@ EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
``` ```

View File

@ -139,3 +139,5 @@ ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 6379 EXPOSE 6379
CMD [ "redis-server" ] CMD [ "redis-server" ]
``` ```

View File

@ -115,3 +115,4 @@ COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"] CMD ["apache2-foreground"]
``` ```