vscode-docker/snippets/dockerfile.json

114 строки
2.2 KiB
JSON

{
"FROM": {
"prefix": "FROM",
"body": [
"FROM ${baseImage}",
"$0"
],
"description": "FROM"
},
"MAINTAINER": {
"prefix": "MAINTAINER",
"body": [
"MAINTAINER ${name}",
"$0"
],
"description": "MAINTAINER"
},
"RUN": {
"prefix": "RUN",
"body": [
"RUN ${cmd}",
"$0"
],
"description": "RUN"
},
"CMD": {
"prefix": "CMD",
"body": [
"CMD ${command}",
"$0"
],
"description": "CMD"
},
"LABEL": {
"prefix": "LABEL",
"body": [
"LABEL ${key}=${value}",
"$0"
],
"description": "LABEL"
},
"EXPOSE": {
"prefix": "EXPOSE",
"body": [
"EXPOSE ${port}",
"$0"
],
"description": "EXPOSE"
},
"ENV": {
"prefix": "ENV",
"body": [
"ENV ${key}=${value}",
"$0"
],
"description": "ENV"
},
"ADD": {
"prefix": "ADD",
"body": [
"ADD ${source} ${dest}",
"$0"
],
"description": "ADD"
},
"COPY": {
"prefix": "COPY",
"body": [
"COPY ${source} ${dest}",
"$0"
],
"description": "COPY"
},
"ENTRYPOINT": {
"prefix": "ENTRYPOINT",
"body": [
"ENTRYPOINT ${command}",
"$0"
],
"description": "ENTRYPOINT"
},
"VOLUME": {
"prefix": "VOLUME",
"body": [
"VOLUME ${name}",
"$0"
],
"description": "VOLUME"
},
"USER": {
"prefix": "USER",
"body": [
"USER ${daemon}",
"$0"
],
"description": "USER"
},
"WORKDIR": {
"prefix": "WORKDIR",
"body": [
"WORKDIR ${path}",
"$0"
],
"description": "WORKDIR"
},
"ONBUILD": {
"prefix": "ONBUILD",
"body": [
"ONBUILD ${instruction}",
"$0"
],
"description": "ONBUILD"
}
}