Dockerfile.builder 715 B

12345678910111213
  1. # Dockerfile for building ZeroTier Central Controllers
  2. FROM centos:8 as builder
  3. MAINTAINER Adam Ierymekno <[email protected]>, Grant Limberg <[email protected]>
  4. ARG git_branch=master
  5. RUN yum update -y
  6. RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
  7. RUN dnf -qy module disable postgresql
  8. RUN yum -y install epel-release && yum -y update && yum clean all
  9. RUN yum groupinstall -y "Development Tools" && yum clean all
  10. RUN yum install -y bash cmake postgresql10 postgresql10-devel clang jemalloc jemalloc-devel libpqxx libpqxx-devel && yum clean all
  11. RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y