提交 f324e87f 编写于 作者: M Martin Aeschlimann

[docker] colorizer tests

上级 04f70fd7
FROM ubuntu
MAINTAINER Kimbro Staken
RUN apt-get install -y software-properties-common python
RUN add-apt-repository ppa:chris-lea/node.js
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y nodejs
#RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1
RUN mkdir /var/www
ADD app.js /var/www/app.js
CMD ["/usr/bin/node", "/var/www/app.js"]
\ No newline at end of file
[
{
"c": "FROM",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " ubuntu",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "MAINTAINER",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " Kimbro Staken",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "RUN",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " apt-get install -y software-properties-common python",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "RUN",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " add-apt-repository ppa:chris-lea/node.js",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "RUN",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " echo ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"deb http://us.archive.ubuntu.com/ubuntu/ precise universe\"",
"t": "dockerfile.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": " >> /etc/apt/sources.list",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "RUN",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " apt-get update",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "RUN",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " apt-get install -y nodejs",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "#",
"t": "dockerfile.comment.line.number-sign.punctuation.definition",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
}
},
{
"c": "RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1",
"t": "dockerfile.comment.line.number-sign",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
}
},
{
"c": "RUN",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " mkdir /var/www",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "ADD",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " app.js /var/www/app.js",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "CMD",
"t": "keyword.other.special-method.dockerfile",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword"
}
},
{
"c": " [",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"/usr/bin/node\"",
"t": "dockerfile.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": ", ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"/var/www/app.js\"",
"t": "dockerfile.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": "] ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
}
]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册