mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
Dockerfile: add some usage docs, bump to Go 1.14
This commit is contained in:
parent
d503dee6f1
commit
02948d2c86
21
Dockerfile
21
Dockerfile
@ -2,7 +2,26 @@
|
||||
# Use of this source code is governed by a BSD-style
|
||||
# license that can be found in the LICENSE file.
|
||||
|
||||
FROM golang:1.13-alpine AS build-env
|
||||
# This Dockerfile includes all the tailscale binaries.
|
||||
#
|
||||
# To build the Dockerfile:
|
||||
#
|
||||
# $ docker build -t tailscale:tailscale .
|
||||
#
|
||||
# To run the tailscaled agent:
|
||||
#
|
||||
# $ docker run -d --name=tailscaled -v /var/lib:/var/lib -v /dev/net/tun:/dev/net/tun --network=host --privileged tailscale:tailscale tailscaled
|
||||
#
|
||||
# To then log in:
|
||||
#
|
||||
# $ docker exec tailscaled tailscale up
|
||||
#
|
||||
# To see status:
|
||||
#
|
||||
# $ docker exec tailscaled tailscale status
|
||||
|
||||
|
||||
FROM golang:1.14-alpine AS build-env
|
||||
|
||||
WORKDIR /go/src/tailscale
|
||||
|
||||
|
@ -23,10 +23,10 @@ https://pkgs.tailscale.com .
|
||||
go install tailscale.com/cmd/tailscale{,d}
|
||||
```
|
||||
|
||||
We only support the latest Go release and any Go beta or release
|
||||
candidate builds (currently Go 1.13.x or Go 1.14) in module mode. It
|
||||
might work in earlier Go versions or in GOPATH mode, but we're making
|
||||
no effort to keep those working.
|
||||
We only guarantee to support the latest Go release and any Go beta or
|
||||
release candidate builds (currently Go 1.14) in module mode. It might
|
||||
work in earlier Go versions or in GOPATH mode, but we're making no
|
||||
effort to keep those working.
|
||||
|
||||
## Bugs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user