mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 19:45:35 +00:00
0a84215036
Creates new QNAP builder target, which builds go binaries then uses docker to build into QNAP packages. Much of the docker/script code here is pulled over from https://github.com/tailscale/tailscale-qpkg, with adaptation into our builder structures. The qnap/Tailscale folder contains static resources needed to build Tailscale qpkg packages, and is an exact copy of the existing folder in the tailscale-qpkg repo. Builds can be run with: ``` sudo ./tool/go run ./cmd/dist build qnap ``` Updates tailscale/tailscale-qpkg#135 Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
9 lines
261 B
Docker
9 lines
261 B
Docker
FROM ubuntu:20.04
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y --no-install-recommends \
|
|
git-core \
|
|
ca-certificates
|
|
RUN git clone https://github.com/qnap-dev/QDK.git
|
|
RUN cd /QDK && ./InstallToUbuntu.sh install
|
|
ENV PATH="/usr/share/QDK/bin:${PATH}" |