summaryrefslogtreecommitdiff
path: root/ext/central-controller-docker/Dockerfile.builder
blob: 29356b8e48351a11006c29129880cb7bb357066e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Dockerfile for building ZeroTier Central Controllers
FROM ubuntu:jammy as builder
MAINTAINER Adam Ierymekno <[email protected]>, Grant Limberg <[email protected]>

ARG git_branch=master

RUN apt update && apt upgrade -y
RUN apt -y install \
    build-essential \
    pkg-config \
    bash \
    clang \
    libjemalloc2 \
    libjemalloc-dev \
    libpq5 \
    libpq-dev \
    openssl \
    libssl-dev \
    postgresql-client \
    postgresql-client-common \
    curl \
    google-perftools \
    libgoogle-perftools-dev \
    protobuf-compiler 

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y