kore-docker

Official Kore Dockerfiles
Commits | Files | Refs | README | git clone

Dockerfile (603B)



      1 FROM alpine:latest
      2 
      3 MAINTAINER Joris Vink <joris@coders.se>
      4 
      5 ADD https://git.kore.io/kore.git/refs/heads/master master.commit
      6 
      7 RUN set -e && \
      8   apk add --no-cache --virtual .build-deps \
      9   musl-dev \
     10   linux-headers \
     11   bsd-compat-headers \
     12   gcc \
     13   make \
     14   openssl-dev \
     15   postgresql-dev \
     16   pkgconfig \
     17   libcurl \
     18   curl-dev \
     19   libpq \
     20   git \
     21   python3-dev && \
     22   git clone https://git.kore.io/kore.git && \
     23   cd kore && \
     24   make clean && \
     25   make PYTHON=1 ACME=1 CURL=1 PGSQL=1 && \
     26   make install && \
     27   cd .. && \
     28   rm -rf kore*
     29 
     30 COPY entry.sh /
     31 
     32 EXPOSE 80 443 8888
     33 
     34 ENTRYPOINT ["/entry.sh"]