From 2189da2771c2640c47de453c175adba8cff684d8 Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Fri, 28 Oct 2016 13:38:53 -0500 Subject: [PATCH 1/2] Fix quotes on webhook JSON example --- docker-hub/webhooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-hub/webhooks.md b/docker-hub/webhooks.md index db87448dbd..1e02c9a06d 100644 --- a/docker-hub/webhooks.md +++ b/docker-hub/webhooks.md @@ -31,8 +31,8 @@ With your webhook, you specify a target URL and a JSON payload to deliver. The e "comment_count": "0", "date_created": 1.417494799e+09, "description": "", - "dockerfile": "#\n# BUILD\u0009\u0009docker build -t svendowideit/apt-cacher .\n# RUN\u0009\u0009docker run -d -p 3142:3142 -name apt-cacher-run apt-cacher\n#\n# and then you can run containers with:\n# \u0009\u0009docker run -t -i -rm -e http_proxy http://192.168.1.2:3142/ debian bash\n#\nFROM\u0009\u0009ubuntu\nMAINTAINER\u0009SvenDowideit@home.org.au\n\n\nVOLUME\u0009\u0009[\/var/cache/apt-cacher-ng\]\nRUN\u0009\u0009apt-get update ; apt-get install -yq apt-cacher-ng\n\nEXPOSE \u0009\u00093142\nCMD\u0009\u0009chmod 777 /var/cache/apt-cacher-ng ; /etc/init.d/apt-cacher-ng start ; tail -f /var/log/apt-cacher-ng/*\n, - full_description: Docker Hub based automated build from a GitHub repo", + "dockerfile": "#\n# BUILD\u0009\u0009docker build -t svendowideit/apt-cacher .\n# RUN\u0009\u0009docker run -d -p 3142:3142 -name apt-cacher-run apt-cacher\n#\n# and then you can run containers with:\n# \u0009\u0009docker run -t -i -rm -e http_proxy http://192.168.1.2:3142/ debian bash\n#\nFROM\u0009\u0009ubuntu\nMAINTAINER\u0009SvenDowideit@home.org.au\n\n\nVOLUME\u0009\u0009[\/var/cache/apt-cacher-ng\]\nRUN\u0009\u0009apt-get update ; apt-get install -yq apt-cacher-ng\n\nEXPOSE \u0009\u00093142\nCMD\u0009\u0009chmod 777 /var/cache/apt-cacher-ng ; /etc/init.d/apt-cacher-ng start ; tail -f /var/log/apt-cacher-ng/*\n", + "full_description": Docker Hub based automated build from a GitHub repo", "is_official": false, "is_private": true, "is_trusted": true, From 1257f50fe090dccae7b96ce84fbda2548e990461 Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Sun, 30 Oct 2016 20:25:43 -0500 Subject: [PATCH 2/2] Add another quote --- docker-hub/webhooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-hub/webhooks.md b/docker-hub/webhooks.md index 1e02c9a06d..cbb653864a 100644 --- a/docker-hub/webhooks.md +++ b/docker-hub/webhooks.md @@ -32,7 +32,7 @@ With your webhook, you specify a target URL and a JSON payload to deliver. The e "date_created": 1.417494799e+09, "description": "", "dockerfile": "#\n# BUILD\u0009\u0009docker build -t svendowideit/apt-cacher .\n# RUN\u0009\u0009docker run -d -p 3142:3142 -name apt-cacher-run apt-cacher\n#\n# and then you can run containers with:\n# \u0009\u0009docker run -t -i -rm -e http_proxy http://192.168.1.2:3142/ debian bash\n#\nFROM\u0009\u0009ubuntu\nMAINTAINER\u0009SvenDowideit@home.org.au\n\n\nVOLUME\u0009\u0009[\/var/cache/apt-cacher-ng\]\nRUN\u0009\u0009apt-get update ; apt-get install -yq apt-cacher-ng\n\nEXPOSE \u0009\u00093142\nCMD\u0009\u0009chmod 777 /var/cache/apt-cacher-ng ; /etc/init.d/apt-cacher-ng start ; tail -f /var/log/apt-cacher-ng/*\n", - "full_description": Docker Hub based automated build from a GitHub repo", + "full_description": "Docker Hub based automated build from a GitHub repo", "is_official": false, "is_private": true, "is_trusted": true,