Skip to content

Commit 66dc47d

Browse files
committed
chore: Use mirror.gcr.io
1 parent 7b34dad commit 66dc47d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testutil/container.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func CreateHTTPBinContainer(t *testing.T) string {
3131
}
3232
opt := &dockertest.RunOptions{
3333
Hostname: HTTPBinHostname,
34-
Repository: "kennethreitz/httpbin",
34+
Repository: "mirror.gcr.io/kennethreitz/httpbin",
3535
Tag: "latest",
3636
Networks: []*dockertest.Network{runnTestNetwork(t)},
3737
}
@@ -75,7 +75,7 @@ func CreateMySQLContainer(t *testing.T) (*sql.DB, string) {
7575
}
7676
opt := &dockertest.RunOptions{
7777
Hostname: MySQLHostname,
78-
Repository: "mysql",
78+
Repository: "mirror.gcr.io/mysql",
7979
Tag: "8",
8080
Env: []string{
8181
"MYSQL_ROOT_PASSWORD=rootpass",
@@ -135,7 +135,7 @@ func CreateSSHdContainer(t *testing.T) (*ssh.Client, string, string, string, int
135135
}
136136
opt := &dockertest.RunOptions{
137137
Hostname: SSHdHostname,
138-
Repository: "panubo/sshd",
138+
Repository: "mirror.gcr.io/panubo/sshd",
139139
Tag: "latest",
140140
Env: []string{
141141
"SSH_USERS=testuser:1000:1000",

0 commit comments

Comments
 (0)