Hackfix CCleanup NodeJS version dependency

This commit is contained in:
Disassembler 2018-07-09 21:58:44 +02:00
parent 7d62e9e0fa
commit ca9b38e141
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -16,9 +16,10 @@ RUN \
apk --no-cache add --virtual .deps build-base git libxml2-dev libxslt-dev linux-headers npm postgresql-dev yarn zlib-dev \
# Clone CrisisCleanup
&& git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup \
# Hackfix ruby dependency versions
# Hackfix ruby and nodejs dependency versions
&& sed -i 's/2\.2\.5/2.3.6/' /srv/crisiscleanup/Gemfile \
&& sed -i 's/rdoc (4\.2\.0)/rdoc (4.3.0)/' /srv/crisiscleanup/Gemfile.lock \
&& sed -i 's/8\.2\.0/>=8.2.0/' /srv/crisiscleanup/package.json \
# Install Ruby and NodeJS dependencies
&& cd /srv/crisiscleanup \
&& bundle config build.nokogiri --use-system-libraries \