mirror of
https://github.com/librenms/docker.git
synced 2026-08-01 22:34:08 +00:00
Bring back Git package
This commit is contained in:
parent
de203f6f09
commit
004364f786
2 changed files with 7 additions and 6 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 1.63-RC6 (2020/05/24)
|
||||
|
||||
* Bring back Git package
|
||||
|
||||
## 1.63-RC5 (2020/05/22)
|
||||
|
||||
* Add missing dep and perms for Weathermap plugin (#82)
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ RUN apk --update --no-cache add \
|
|||
coreutils \
|
||||
curl \
|
||||
fping \
|
||||
git \
|
||||
graphviz \
|
||||
imagemagick \
|
||||
ipmitool \
|
||||
|
|
@ -105,9 +106,7 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS="2" \
|
|||
PUID="1000" \
|
||||
PGID="1000"
|
||||
|
||||
RUN apk --update --no-cache add -t build-dependencies \
|
||||
git \
|
||||
&& mkdir -p /opt \
|
||||
RUN mkdir -p /opt \
|
||||
&& curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
|
||||
&& git clone --branch ${LIBRENMS_VERSION} https://github.com/librenms/librenms.git ${LIBRENMS_PATH} \
|
||||
&& COMPOSER_CACHE_DIR="/tmp" composer install --no-dev --no-interaction --no-ansi --working-dir=${LIBRENMS_PATH} \
|
||||
|
|
@ -122,9 +121,7 @@ RUN apk --update --no-cache add -t build-dependencies \
|
|||
&& pip3 install -r ${LIBRENMS_PATH}/requirements.txt \
|
||||
&& git clone https://github.com/librenms-plugins/Weathermap.git ${LIBRENMS_PATH}/html/plugins/Weathermap \
|
||||
&& chown -R nobody.nogroup ${LIBRENMS_PATH} \
|
||||
&& apk del build-dependencies \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
${LIBRENMS_PATH}/.git \
|
||||
&& rm -rf ${LIBRENMS_PATH}/.git \
|
||||
${LIBRENMS_PATH}/html/plugins/Test \
|
||||
${LIBRENMS_PATH}/html/plugins/Weathermap/.git \
|
||||
${LIBRENMS_PATH}/html/plugins/Weathermap/configs \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue