summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIrbe Krumina <irbe@tailscale.com>2024-07-30 17:12:43 +0300
committerGitHub <noreply@github.com>2024-07-30 15:12:43 +0100
commiteead25560fad858dc480f2b64dabc457fb93f211 (patch)
tree65a600c9004685c75642f2b16910f4a2ad97c983
parent1b64961320fc645dce2700c4ab012d360b09e864 (diff)
downloadtailscale-eead25560fad858dc480f2b64dabc457fb93f211.tar.xz
tailscale-eead25560fad858dc480f2b64dabc457fb93f211.zip
build_docker.sh: update script comment (#12970)
It is no longer correct to state that we don't support running Tailscale in containers or on Kubernetes. Updates tailscale/tailscale#12842 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
-rwxr-xr-xbuild_docker.sh22
1 files changed, 6 insertions, 16 deletions
diff --git a/build_docker.sh b/build_docker.sh
index 272f228f8..1cbdc4b9e 100755
--- a/build_docker.sh
+++ b/build_docker.sh
@@ -1,21 +1,11 @@
#!/usr/bin/env sh
-
-#
-# Runs `go build` with flags configured for docker distribution. All
-# it does differently from `go build` is burn git commit and version
-# information into the binaries inside docker, so that we can track down user
-# issues.
-#
-############################################################################
-#
-# WARNING: Tailscale is not yet officially supported in container
-# environments, such as Docker and Kubernetes. Though it should work, we
-# don't regularly test it, and we know there are some feature limitations.
-#
-# See current bugs tagged "containers":
-# https://github.com/tailscale/tailscale/labels/containers
#
-############################################################################
+# This script builds Tailscale container images using
+# github.com/tailscale/mkctr.
+# By default the images will be tagged with the current version and git
+# hash of this repository as produced by ./cmd/mkversion.
+# This is the image build mechanim used to build the official Tailscale
+# container images.
set -eu