2021-08-20 09:22:44 -07:00
|
|
|
# Dockerfile for building ZeroTier Central Controllers
|
2022-06-22 15:03:19 -07:00
|
|
|
FROM ubuntu:jammy as builder
|
2021-08-20 09:22:44 -07:00
|
|
|
MAINTAINER Adam Ierymekno <adam.ierymenko@zerotier.com>, Grant Limberg <grant.limberg@zerotier.com>
|
|
|
|
|
|
|
|
ARG git_branch=master
|
|
|
|
|
2022-06-22 15:03:19 -07:00
|
|
|
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 \
|
2022-10-06 09:00:21 -07:00
|
|
|
curl \
|
|
|
|
google-perftools \
|
2023-08-04 13:08:18 -07:00
|
|
|
libgoogle-perftools-dev \
|
|
|
|
protobuf-compiler
|
2022-06-22 15:03:19 -07:00
|
|
|
|
2021-11-30 15:22:31 -08:00
|
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|