use https and get only latest commit with git clone

This commit is contained in:
Wonderfall 2016-06-30 13:15:04 +02:00
parent ab7b7e40e4
commit 9cb7d4404e
13 changed files with 34 additions and 35 deletions

View File

@ -18,7 +18,7 @@ RUN BUILD_DEPS=" \
libstdc++ \
curl \
&& cd /tmp \
&& git clone https://github.com/BOINC/boinc.git \
&& git clone https://github.com/BOINC/boinc.git --depth=1 \
&& cd boinc \
&& ./_autosetup \
&& ./configure --disable-server --enable-client CXXFLAGS="-O3 " \

View File

@ -15,7 +15,7 @@ ENV UID=1000 \
FACING_IP=9.9.9.9 \
JSON_LOG=False
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
build-base \
libtool \

View File

@ -26,7 +26,7 @@ ENV GHOST_NODE_VERSION_CHECK=false \
VOLUME /ghost/content
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& apk -U add \
openssl \
ca-certificates \

View File

@ -5,7 +5,7 @@ ARG ISSO_VER=0.10.4
ENV GID=1000 UID=1000
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
python-dev \
libffi-dev \

View File

@ -6,8 +6,8 @@ ARG IMAGICK_EXT_VERSION=3.4.2
ENV UID=991 GID=991
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
imagemagick-dev \
tar \

View File

@ -6,8 +6,8 @@ ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
ENV GID=991 UID=991
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& BUILD_DEPS="gnupg tar ca-certificates" \
&& apk -U add \
${BUILD_DEPS} \

View File

@ -35,11 +35,11 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
bind-tools \
tini@commuedge \
&& cd /tmp \
&& git clone https://github.com/bagder/libbrotli && cd libbrotli \
&& git clone https://github.com/bagder/libbrotli --depth=1 && cd libbrotli \
&& ./autogen.sh && ./configure && make -j ${NB_CORES} && make install \
&& cd /tmp \
&& git clone https://github.com/google/ngx_brotli \
&& git clone https://github.com/openresty/headers-more-nginx-module \
&& git clone https://github.com/google/ngx_brotli --depth=1 \
&& git clone https://github.com/openresty/headers-more-nginx-module --depth=1 \
&& LIBRESSL_TARBALL="libressl-${LIBRESSL_VERSION}.tar.gz" \
&& wget -q http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${LIBRESSL_TARBALL} \
&& echo "Verifying ${LIBRESSL_TARBALL} using GPG..." \

View File

@ -7,8 +7,8 @@ ARG GPG_matthieu="814E 346F A01A 20DB B04B 6807 B5DB D592 5590 A237"
ENV GID=991 UID=991
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
RUN echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
git \
tar \

View File

@ -5,8 +5,8 @@ ARG GPG_rainloop="3B79 7ECE 694F 3B7B 70F3 11A4 ED7C 49D9 87DA 4591"
ENV GID=991 UID=991
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk -U add \
gnupg \
nginx \

View File

@ -13,8 +13,8 @@ ENV UID=991 \
WEBROOT=/ \
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& NB_CORES=${BUILD_CORES-`getconf _NPROCESSORS_CONF`} \
&& BUILD_DEPS=" \
build-base \
@ -49,8 +49,8 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
&& wget -q http://downloads.sourceforge.net/mktorrent/mktorrent-1.0.tar.gz \
&& tar xzvf mktorrent-1.0.tar.gz \
&& svn checkout http://svn.code.sf.net/p/xmlrpc-c/code/stable xmlrpc-c \
&& git clone https://github.com/rakshasa/libtorrent.git \
&& git clone https://github.com/rakshasa/rtorrent.git \
&& git clone https://github.com/rakshasa/libtorrent.git --depth=1 \
&& git clone https://github.com/rakshasa/rtorrent.git --depth=1 \
&& wget -q http://mediaarea.net/download/binary/mediainfo/${MEDIAINFO_VER}/MediaInfo_CLI_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
&& wget -q http://mediaarea.net/download/binary/libmediainfo0/${MEDIAINFO_VER}/MediaInfo_DLL_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
&& tar xzf MediaInfo_DLL_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
@ -68,13 +68,13 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
&& cd /tmp/rtorrent && git checkout ${RTORRENT_VER} && ./autogen.sh && ./configure --with-xmlrpc-c \
&& make -j ${NB_CORES} && make install \
&& mkdir -p /var/www && cd /var/www \
&& git clone https://github.com/Novik/ruTorrent.git rutorrent \
&& git clone https://github.com/Novik/ruTorrent.git rutorrent --depth=1 \
&& cd /var/www/rutorrent/plugins/ \
&& git clone https://github.com/Korni22/rutorrent-logoff logoff \
&& git clone https://github.com/xombiemp/rutorrentMobile.git mobile \
&& git clone https://github.com/Ardakilic/rutorrent-pausewebui pausewebui \
&& git clone https://github.com/Korni22/rutorrent-logoff logoff --depth=1 \
&& git clone https://github.com/xombiemp/rutorrentMobile.git mobile --depth=1 \
&& git clone https://github.com/Ardakilic/rutorrent-pausewebui pausewebui --depth=1 \
&& cd /var/www/rutorrent/plugins/theme/themes \
&& git clone https://github.com/Phlooo/ruTorrent-MaterialDesign.git Material \
&& git clone https://github.com/Phlooo/ruTorrent-MaterialDesign.git Material --depth=1 \
&& mv /var/www/rutorrent /var/www/torrent \
&& mkdir /filebot \
&& wget -q http://downloads.sourceforge.net/project/filebot/filebot/FileBot_${FILEBOT_VER}/FileBot_${FILEBOT_VER}-portable.zip -P /tmp \

View File

@ -3,7 +3,7 @@ MAINTAINER Wonderfall <wonderfall@schrodinger.io>
ENV BASE_URL=False IMAGE_PROXY=False
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
build-base \
python-dev \

View File

@ -5,7 +5,7 @@ ARG VERSION=6.0
ENV GID=991 UID=991
WORKDIR /subsonic
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& apk -U add \
ffmpeg \
openjdk8-jre@commuedge \

View File

@ -3,25 +3,23 @@ MAINTAINER Wonderfall <wonderfall@schrodinger.io>
ENV GID=991 UID=991
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& BUILD_DEPS="tar openssl ca-certificates" \
&& apk -U add \
$BUILD_DEPS \
nginx \
libwebp \
supervisor \
tini@commuedge \
php7-fpm@testing \
php7-gd@testing \
php7-mcrypt@testing \
php7-json@testing \
php7-zlib@testing \
supervisor \
tini@commuedge \
openssl \
ca-certificates \
tar \
&& mkdir zerobin && cd zerobin \
&& wget -qO- https://github.com/elrido/ZeroBin/archive/master.tar.gz | tar xz --strip 1 \
&& mv cfg/conf.ini.sample cfg/conf.ini \
&& apk del tar openssl ca-certificates \
&& apk del $BUILD_DEPS \
&& rm -f /var/cache/apk/*
COPY nginx.conf /etc/nginx/nginx.conf
@ -32,6 +30,7 @@ COPY run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh
VOLUME /zerobin/data
EXPOSE 80
CMD ["/sbin/tini","--","run.sh"]