File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
1
+ # Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
2
2
# Use of this source code is governed by a BSD-style
3
3
# license that can be found in the LICENSE file.
4
4
5
5
FROM mcr.microsoft.com/vscode/devcontainers/universal:linux as builder
6
6
USER root
7
7
8
+ # Magic DNS in a container where /etc/resolv.conf is a bind mount needed
9
+ # extra support, currently on a development branch.
8
10
WORKDIR /go/src/tailscale
9
11
COPY . ./
10
12
RUN git clone https://github.com/tailscale/tailscale.git && cd tailscale && \
@@ -15,6 +17,7 @@ COPY . ./
15
17
FROM mcr.microsoft.com/vscode/devcontainers/universal:linux
16
18
USER root
17
19
20
+ RUN apt-get update && apt-get install -y curl gpg dnsutils
18
21
COPY tailscaled /etc/init.d
19
22
COPY --from=builder /go/bin/tailscaled /usr/sbin/tailscaled
20
23
COPY --from=builder /go/bin/tailscale /usr/bin/tailscale
You can’t perform that action at this time.
0 commit comments