Bump CrisisCleanup to Alpine 3.10 + Node.js 10

This commit is contained in:
Disassembler 2020-03-22 12:17:13 +01:00
parent c32365d671
commit ef52c066d2
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
5 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,6 @@
IMAGE ckan-datapusher_0.0.16-200313
FROM alpine3.10-python2.7_2.7.16-200313
# Alpine 3.11 discontinued uwsgi-python2 module
RUN EOF
# Install runtime dependencies

View File

@ -1,5 +1,6 @@
IMAGE crisiscleanup_2.2.0-200313
FROM alpine3.8-ruby2.4_2.4.9-200313
FROM alpine3.10-ruby2.4_2.4.9-200313
# yarn dependencies installation fails on nodejs>10
ENV RAILS_ENV production
@ -17,6 +18,9 @@ RUN EOF
sed -i 's/ruby "2\.4\.4"/ruby "2.4.9"/' /srv/crisiscleanup/Gemfile
gem install bundler:1.16.6
# Hackfix nodejs version requirement
sed -i 's/8\.x/10.x/' /srv/crisiscleanup/package.json
# Install Ruby and NodeJS dependencies
cd /srv/crisiscleanup
bundle config build.nokogiri --use-system-libraries

View File

@ -1,5 +1,6 @@
IMAGE frontlinesms_2.6.5-200313
FROM alpine3.8-java8_8.222.10-200313
# HTTP connection accept fails on Java 8.242
RUN EOF
# Install runtime dependencies

View File

@ -1,5 +1,6 @@
IMAGE openmapkit_0.12.0-200313
FROM alpine3.10-nodejs10_10.19.0-200313
# libxmljs installation fails on nodejs>10
RUN EOF
# Install runtime dependencies

View File

@ -1,5 +1,5 @@
IMAGE alpine3.8-ruby2.4_2.4.9-200313
FROM alpine3.8_3.8.5-200313
IMAGE alpine3.10-ruby2.4_2.4.9-200313
FROM alpine3.10_3.10.4-200313
RUN EOF
# Install Ruby runtime dependencies