Merge pull request #154 from mzeht/master

Fix format
pull/155/head
Baohua Yang 2017-02-07 22:15:49 +08:00 committed by GitHub
commit de81226f53
8 changed files with 22 additions and 10 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

@ -140,3 +140,5 @@ RUN sed -i 's/^#\s*\(deb.*universe\)$/\1/g' /etc/apt/sources.list
# overwrite this with 'CMD []' in a dependent Dockerfile # overwrite this with 'CMD []' in a dependent Dockerfile
CMD ["/bin/bash"] CMD ["/bin/bash"]
``` ```

View File

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