2018-09-28 17:55:39 +00:00
|
|
|
# Dockerfile for ZeroTier Central Controllers
|
|
|
|
FROM centos:7
|
|
|
|
MAINTAINER Adam Ierymekno <adam.ierymenko@zerotier.com>, Grant Limberg <grant.limberg@zerotier.com>
|
|
|
|
|
|
|
|
RUN yum update -y
|
|
|
|
RUN yum install -y https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm
|
2019-06-20 21:17:38 +00:00
|
|
|
RUN yum install -y bash postgresql10 libpqxx-devel
|
2018-09-28 17:55:39 +00:00
|
|
|
|
2018-10-24 19:06:17 +00:00
|
|
|
RUN yum -y install epel-release && yum -y update && yum clean all
|
2018-10-24 20:36:21 +00:00
|
|
|
RUN yum -y install clang jemalloc jemalloc-devel
|
2018-10-24 19:06:17 +00:00
|
|
|
|
|
|
|
|
2018-09-28 17:55:39 +00:00
|
|
|
ADD zerotier-one /usr/local/bin/zerotier-one
|
|
|
|
RUN chmod a+x /usr/local/bin/zerotier-one
|
|
|
|
|
|
|
|
ADD docker/main.sh /
|
|
|
|
RUN chmod a+x /main.sh
|
|
|
|
|
|
|
|
ENTRYPOINT /main.sh
|