we're still debugging
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
FROM nextcloud:stable-apache
|
||||
#needed for some reason
|
||||
ENV NEXTCLOUD_UPDATE=1
|
||||
|
||||
|
||||
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list && \
|
||||
sed -i 's@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list && \
|
||||
apt-get update && apt-get install -y \
|
||||
vim screen dnsutils procps nmap bash iputils-ping bash && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /var/cache/apt/*
|
||||
|
||||
#patch curl wrapper
|
||||
#RUN sed -i '/\[CURLOPT_HEADERFUNCTION\].*$/a $conf[CURLOPT_SSL_VERIFYPEER] = false;' /usr/src/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php; \
|
||||
# cat /usr/src/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php; \
|
||||
RUN touch /usr/src/nextcloud/data/.ocdata
|
||||
COPY config.php /usr/src/nextcloud/config/
|
||||
#install ca.crt update script to the container
|
||||
COPY post-start.sh /
|
||||
RUN chmod +x /post-start.sh
|
||||
|
||||
|
||||
#ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user