mirror of https://github.com/docker/docs.git
Update the TestBuild with new format
This commit is contained in:
parent
6c168a8986
commit
15ea5a479a
|
@ -7,12 +7,12 @@ import (
|
||||||
|
|
||||||
const Dockerfile = `
|
const Dockerfile = `
|
||||||
# VERSION 0.1
|
# VERSION 0.1
|
||||||
# DOCKER-VERSION 0.1.6
|
# DOCKER-VERSION 0.2
|
||||||
|
|
||||||
from docker-ut
|
from docker-ut
|
||||||
run sh -c 'echo root:testpass > /tmp/passwd'
|
run sh -c 'echo root:testpass > /tmp/passwd'
|
||||||
run mkdir -p /var/run/sshd
|
run mkdir -p /var/run/sshd
|
||||||
copy https://raw.github.com/dotcloud/docker/master/CHANGELOG.md /tmp/CHANGELOG.md
|
insert https://raw.github.com/dotcloud/docker/master/CHANGELOG.md /tmp/CHANGELOG.md
|
||||||
`
|
`
|
||||||
|
|
||||||
func TestBuild(t *testing.T) {
|
func TestBuild(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue