mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
use https and get only latest commit with git clone
This commit is contained in:
parent
ab7b7e40e4
commit
9cb7d4404e
@ -18,7 +18,7 @@ RUN BUILD_DEPS=" \
|
|||||||
libstdc++ \
|
libstdc++ \
|
||||||
curl \
|
curl \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
&& git clone https://github.com/BOINC/boinc.git \
|
&& git clone https://github.com/BOINC/boinc.git --depth=1 \
|
||||||
&& cd boinc \
|
&& cd boinc \
|
||||||
&& ./_autosetup \
|
&& ./_autosetup \
|
||||||
&& ./configure --disable-server --enable-client CXXFLAGS="-O3 " \
|
&& ./configure --disable-server --enable-client CXXFLAGS="-O3 " \
|
||||||
|
@ -15,7 +15,7 @@ ENV UID=1000 \
|
|||||||
FACING_IP=9.9.9.9 \
|
FACING_IP=9.9.9.9 \
|
||||||
JSON_LOG=False
|
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_DEPS=" \
|
||||||
build-base \
|
build-base \
|
||||||
libtool \
|
libtool \
|
||||||
|
@ -26,7 +26,7 @@ ENV GHOST_NODE_VERSION_CHECK=false \
|
|||||||
|
|
||||||
VOLUME /ghost/content
|
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 \
|
&& apk -U add \
|
||||||
openssl \
|
openssl \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
@ -5,7 +5,7 @@ ARG ISSO_VER=0.10.4
|
|||||||
|
|
||||||
ENV GID=1000 UID=1000
|
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=" \
|
&& BUILD_DEPS=" \
|
||||||
python-dev \
|
python-dev \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
|
@ -6,8 +6,8 @@ ARG IMAGICK_EXT_VERSION=3.4.2
|
|||||||
|
|
||||||
ENV UID=991 GID=991
|
ENV UID=991 GID=991
|
||||||
|
|
||||||
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 \
|
||||||
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& BUILD_DEPS=" \
|
&& BUILD_DEPS=" \
|
||||||
imagemagick-dev \
|
imagemagick-dev \
|
||||||
tar \
|
tar \
|
||||||
|
@ -6,8 +6,8 @@ ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
|
|||||||
|
|
||||||
ENV GID=991 UID=991
|
ENV GID=991 UID=991
|
||||||
|
|
||||||
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 \
|
||||||
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& BUILD_DEPS="gnupg tar ca-certificates" \
|
&& BUILD_DEPS="gnupg tar ca-certificates" \
|
||||||
&& apk -U add \
|
&& apk -U add \
|
||||||
${BUILD_DEPS} \
|
${BUILD_DEPS} \
|
||||||
|
@ -35,11 +35,11 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
|
|||||||
bind-tools \
|
bind-tools \
|
||||||
tini@commuedge \
|
tini@commuedge \
|
||||||
&& cd /tmp \
|
&& 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 \
|
&& ./autogen.sh && ./configure && make -j ${NB_CORES} && make install \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
&& git clone https://github.com/google/ngx_brotli \
|
&& git clone https://github.com/google/ngx_brotli --depth=1 \
|
||||||
&& git clone https://github.com/openresty/headers-more-nginx-module \
|
&& git clone https://github.com/openresty/headers-more-nginx-module --depth=1 \
|
||||||
&& LIBRESSL_TARBALL="libressl-${LIBRESSL_VERSION}.tar.gz" \
|
&& LIBRESSL_TARBALL="libressl-${LIBRESSL_VERSION}.tar.gz" \
|
||||||
&& wget -q http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${LIBRESSL_TARBALL} \
|
&& wget -q http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${LIBRESSL_TARBALL} \
|
||||||
&& echo "Verifying ${LIBRESSL_TARBALL} using GPG..." \
|
&& echo "Verifying ${LIBRESSL_TARBALL} using GPG..." \
|
||||||
|
@ -7,8 +7,8 @@ ARG GPG_matthieu="814E 346F A01A 20DB B04B 6807 B5DB D592 5590 A237"
|
|||||||
|
|
||||||
ENV GID=991 UID=991
|
ENV GID=991 UID=991
|
||||||
|
|
||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
RUN echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
&& echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
||||||
&& BUILD_DEPS=" \
|
&& BUILD_DEPS=" \
|
||||||
git \
|
git \
|
||||||
tar \
|
tar \
|
||||||
|
@ -5,8 +5,8 @@ ARG GPG_rainloop="3B79 7ECE 694F 3B7B 70F3 11A4 ED7C 49D9 87DA 4591"
|
|||||||
|
|
||||||
ENV GID=991 UID=991
|
ENV GID=991 UID=991
|
||||||
|
|
||||||
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 \
|
||||||
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& apk -U add \
|
&& apk -U add \
|
||||||
gnupg \
|
gnupg \
|
||||||
nginx \
|
nginx \
|
||||||
|
@ -13,8 +13,8 @@ ENV UID=991 \
|
|||||||
WEBROOT=/ \
|
WEBROOT=/ \
|
||||||
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||||
|
|
||||||
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 \
|
||||||
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& NB_CORES=${BUILD_CORES-`getconf _NPROCESSORS_CONF`} \
|
&& NB_CORES=${BUILD_CORES-`getconf _NPROCESSORS_CONF`} \
|
||||||
&& BUILD_DEPS=" \
|
&& BUILD_DEPS=" \
|
||||||
build-base \
|
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 \
|
&& wget -q http://downloads.sourceforge.net/mktorrent/mktorrent-1.0.tar.gz \
|
||||||
&& tar xzvf 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 \
|
&& 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/libtorrent.git --depth=1 \
|
||||||
&& git clone https://github.com/rakshasa/rtorrent.git \
|
&& 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/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 \
|
&& 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 \
|
&& 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 \
|
&& cd /tmp/rtorrent && git checkout ${RTORRENT_VER} && ./autogen.sh && ./configure --with-xmlrpc-c \
|
||||||
&& make -j ${NB_CORES} && make install \
|
&& make -j ${NB_CORES} && make install \
|
||||||
&& mkdir -p /var/www && cd /var/www \
|
&& 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/ \
|
&& cd /var/www/rutorrent/plugins/ \
|
||||||
&& git clone https://github.com/Korni22/rutorrent-logoff logoff \
|
&& git clone https://github.com/Korni22/rutorrent-logoff logoff --depth=1 \
|
||||||
&& git clone https://github.com/xombiemp/rutorrentMobile.git mobile \
|
&& git clone https://github.com/xombiemp/rutorrentMobile.git mobile --depth=1 \
|
||||||
&& git clone https://github.com/Ardakilic/rutorrent-pausewebui pausewebui \
|
&& git clone https://github.com/Ardakilic/rutorrent-pausewebui pausewebui --depth=1 \
|
||||||
&& cd /var/www/rutorrent/plugins/theme/themes \
|
&& 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 \
|
&& mv /var/www/rutorrent /var/www/torrent \
|
||||||
&& mkdir /filebot \
|
&& mkdir /filebot \
|
||||||
&& wget -q http://downloads.sourceforge.net/project/filebot/filebot/FileBot_${FILEBOT_VER}/FileBot_${FILEBOT_VER}-portable.zip -P /tmp \
|
&& wget -q http://downloads.sourceforge.net/project/filebot/filebot/FileBot_${FILEBOT_VER}/FileBot_${FILEBOT_VER}-portable.zip -P /tmp \
|
||||||
|
@ -3,7 +3,7 @@ MAINTAINER Wonderfall <wonderfall@schrodinger.io>
|
|||||||
|
|
||||||
ENV BASE_URL=False IMAGE_PROXY=False
|
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_DEPS=" \
|
||||||
build-base \
|
build-base \
|
||||||
python-dev \
|
python-dev \
|
||||||
|
@ -5,7 +5,7 @@ ARG VERSION=6.0
|
|||||||
ENV GID=991 UID=991
|
ENV GID=991 UID=991
|
||||||
WORKDIR /subsonic
|
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 \
|
&& apk -U add \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
openjdk8-jre@commuedge \
|
openjdk8-jre@commuedge \
|
||||||
|
@ -3,25 +3,23 @@ MAINTAINER Wonderfall <wonderfall@schrodinger.io>
|
|||||||
|
|
||||||
ENV GID=991 UID=991
|
ENV GID=991 UID=991
|
||||||
|
|
||||||
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 \
|
||||||
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
|
&& BUILD_DEPS="tar openssl ca-certificates" \
|
||||||
&& apk -U add \
|
&& apk -U add \
|
||||||
|
$BUILD_DEPS \
|
||||||
nginx \
|
nginx \
|
||||||
libwebp \
|
supervisor \
|
||||||
|
tini@commuedge \
|
||||||
php7-fpm@testing \
|
php7-fpm@testing \
|
||||||
php7-gd@testing \
|
php7-gd@testing \
|
||||||
php7-mcrypt@testing \
|
php7-mcrypt@testing \
|
||||||
php7-json@testing \
|
php7-json@testing \
|
||||||
php7-zlib@testing \
|
php7-zlib@testing \
|
||||||
supervisor \
|
|
||||||
tini@commuedge \
|
|
||||||
openssl \
|
|
||||||
ca-certificates \
|
|
||||||
tar \
|
|
||||||
&& mkdir zerobin && cd zerobin \
|
&& mkdir zerobin && cd zerobin \
|
||||||
&& wget -qO- https://github.com/elrido/ZeroBin/archive/master.tar.gz | tar xz --strip 1 \
|
&& wget -qO- https://github.com/elrido/ZeroBin/archive/master.tar.gz | tar xz --strip 1 \
|
||||||
&& mv cfg/conf.ini.sample cfg/conf.ini \
|
&& mv cfg/conf.ini.sample cfg/conf.ini \
|
||||||
&& apk del tar openssl ca-certificates \
|
&& apk del $BUILD_DEPS \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/*
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
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
|
RUN chmod +x /usr/local/bin/run.sh
|
||||||
|
|
||||||
VOLUME /zerobin/data
|
VOLUME /zerobin/data
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["/sbin/tini","--","run.sh"]
|
CMD ["/sbin/tini","--","run.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user