mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 08:47:49 +00:00
Docker requires lowercase for the container names
This commit is contained in:
parent
a6455653c0
commit
f42868f67f
@ -20,7 +20,7 @@ var (
|
|||||||
IpPrefix4 = netaddr.MustParseIPPrefix("100.64.0.0/10")
|
IpPrefix4 = netaddr.MustParseIPPrefix("100.64.0.0/10")
|
||||||
IpPrefix6 = netaddr.MustParseIPPrefix("fd7a:115c:a1e0::/48")
|
IpPrefix6 = netaddr.MustParseIPPrefix("fd7a:115c:a1e0::/48")
|
||||||
|
|
||||||
tailscaleVersions = []string{"HEAD", "unstable", "1.22.0", "1.20.4", "1.18.2", "1.16.2", "1.14.3", "1.12.3"}
|
tailscaleVersions = []string{"head", "unstable", "1.22.2", "1.20.4", "1.18.2", "1.16.2", "1.14.3", "1.12.3"}
|
||||||
)
|
)
|
||||||
|
|
||||||
type TestNamespace struct {
|
type TestNamespace struct {
|
||||||
@ -131,7 +131,7 @@ func DockerAllowNetworkAdministration(config *docker.HostConfig) {
|
|||||||
func getDockerBuildOptions(version string) *dockertest.BuildOptions {
|
func getDockerBuildOptions(version string) *dockertest.BuildOptions {
|
||||||
var tailscaleBuildOptions *dockertest.BuildOptions
|
var tailscaleBuildOptions *dockertest.BuildOptions
|
||||||
switch version {
|
switch version {
|
||||||
case "HEAD":
|
case "head":
|
||||||
tailscaleBuildOptions = &dockertest.BuildOptions{
|
tailscaleBuildOptions = &dockertest.BuildOptions{
|
||||||
Dockerfile: "Dockerfile.tailscale-HEAD",
|
Dockerfile: "Dockerfile.tailscale-HEAD",
|
||||||
ContextDir: ".",
|
ContextDir: ".",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user