Commit Graph

19 Commits

Author SHA1 Message Date
Sebastiaan van Stijn e22984f7d4
use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Usha Mandya 4bf9708018
Merge pull request #12355 from david-szabo97/patch-2
Node.js guide: Fix syntax highlighting
2021-03-05 14:31:12 +00:00
Dávid Szabó 0e8734a4d2
Fix volume mismatch 2021-02-18 22:28:26 +01:00
Dávid Szabó 15bdb766b6
Fix syntax highlighting 2021-02-18 22:27:57 +01:00
Dávid Szabó ab9ee94657
Fix syntax highlighting 2021-02-18 22:27:33 +01:00
Akhilesh Agarwal 3420e0bce0
Update develop.md
In docker-compose.dev.yml, DATABASE_CONNECTIONSTRING is used as a database URL whereas, in the code, CONNECTIONSTRING is being used. Hence, updating the string in docker-compose.dev.yml file.
2020-12-26 21:50:57 +01:00
Stefan Scherer 0e2db256f8
Update get-started/nodejs/develop.md
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-18 17:27:50 +01:00
Stefan Scherer b923b23cda
Update get-started/nodejs/develop.md
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-18 17:27:23 +01:00
Stefan Scherer f555a16653
Update get-started/nodejs/develop.md
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-18 17:27:16 +01:00
Stefan Scherer db293a4325
Update get-started/nodejs/develop.md
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-18 17:27:06 +01:00
Stefan Scherer 066b260d7b
Add missing chapter to nodejs example
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-12-18 10:54:17 +01:00
Usha Mandya b95a8a6134
Merge pull request #11804 from gibbok/patch-1
Update content for complete Dockerfile as mentioned in the previous step
2020-11-30 11:44:36 +00:00
GibboK 69371182e2
Update build-images.md
Update content for complete Dockerfile as mentioned in the previous step
2020-11-27 12:00:27 +01:00
Usha Mandya d5ae097c67 Update get started toc 2020-11-24 19:33:48 +00:00
Dharmjeet Kumar 93a91c7ff5
Corrected Indentation in docker-compose.dev.yml
It didn't use the volumes as parameter, instead it defined a service called volumes and services don't have a parameter called mongodb. Corrected indentation in yml file
2020-11-09 22:56:00 +05:30
Sebastiaan van Stijn bec50329b9
Fix links not having a trailing /
This avoids resulting in a redirect to the URL with /

Found these using `href="[^#][^#"]+[^/]"`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-13 12:06:06 +02:00
Sebastiaan van Stijn 393d3f6566
Add rel="noopener" to external links
See https://web.dev/external-anchors-use-rel-noopener/

Using noopener, as that addresses the security issue. "noreferer" blocks
the REFERER header, which may still be useful for some target URLs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:09:30 +02:00
PjAkash c5676280fe
Fixed error 'docker run' to 'docker build' 2020-10-01 19:36:14 +05:30
Usha Mandya ba806ea3a2 Add get started docs for NodeJS
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-09-24 14:27:37 +01:00