mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Fix make central-controller-docker
This commit is contained in:
parent
91b16310ea
commit
ca89695270
3 changed files with 100 additions and 1 deletions
19
ext/central-controller-docker/Dockerfile
Normal file
19
ext/central-controller-docker/Dockerfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 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
|
||||
RUN yum install -y bash postgresql10 libpqxx-devel
|
||||
|
||||
RUN yum -y install epel-release && yum -y update && yum clean all
|
||||
RUN yum -y install clang jemalloc jemalloc-devel
|
||||
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue