This commit is contained in:
root 2017-11-02 08:34:29 +00:00
parent f9fa5bb48f
commit ddb68e2454
5 changed files with 35 additions and 3 deletions

1
cryptpad/cryptpad Submodule

@ -0,0 +1 @@
Subproject commit 447b0a74ee02d52aabb906aa6e2e86d8c241db29

View File

@ -18,7 +18,7 @@ ENV UID=991 GID=991 \
RUN echo "deb http://ftp.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install ffmpeg openssl curl git build-essential nginx \
&& apt-get -y --no-install-recommends install ffmpeg openssl curl git build-essential nginx-light \
&& apt-get clean \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
@ -30,7 +30,6 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main contrib non-fre
&& npm install \
&& yarn install \
&& npm run build \
&& apt-get r -y build-essential curl \
&& apt-get purge -y build-essential curl \
&& apt-get autoremove -y \
&& apt-get clean \

View File

@ -1,4 +1,4 @@
FROM xataz/nginx-php:7.1
FROM xataz/nginx-php
ARG VERSION=3.2.0
ARG GPG_matthieu="814E 346F A01A 20DB B04B 6807 B5DB D592 5590 A237"

View File

@ -0,0 +1,6 @@
FROM alpine:3.6
RUN apk -U add \
prosody
EXPOSE 80 443 5222 5269 5347 5280 5281

View File

@ -0,0 +1,26 @@
FROM alpine:3.6
ARG RETHINKDB_VERSION=2.3.5
RUN apk -U update \
&& apk -U add -ti build-deps \
build-base \
gnupg \
tar \
automake \
autoconf \
binutils \
&& apk -U add libcurl \
libressl \
python \
boost \
ncurses \
jemalloc \
protobuf \
wget \
&& cd /tmp \
&& wget https://download.rethinkdb.com/dist/rethinkdb-$RETHINKDB_VERSION.tgz \
&& tar xf rethinkdb-$RETHINKDB_VERSION.tgz \
&& cd rethinkdb-$RETHINKDB_VERSION \
&& ./configure --allow-fetch \
&& make