mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-14 07:49:52 +02:00
* make origin repo configurable when building image
* halt build process if initial git clone fails * log resulting commit id used when building
This commit is contained in:
parent
53ed76ed1d
commit
4a7b2aed70
2 changed files with 14 additions and 3 deletions
|
@ -26,6 +26,12 @@ ADD backup.sh /etc/periodic/weekly/backup
|
|||
ADD config.docker.php ${SCRIPT_ROOT}
|
||||
ADD build-prepare.sh ${SCRIPT_ROOT}
|
||||
|
||||
ARG ORIGIN_REPO_MAIN=https://git.tt-rss.org/fox/tt-rss.git
|
||||
ARG ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git
|
||||
|
||||
ENV ORIGIN_REPO_MAIN=${ORIGIN_REPO_MAIN}
|
||||
ENV ORIGIN_REPO_XACCEL=${ORIGIN_REPO_XACCEL}
|
||||
|
||||
RUN sh -c ${SCRIPT_ROOT}/build-prepare.sh
|
||||
|
||||
ENV OWNER_UID=1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue