OMK requires nodejs<=10

This commit is contained in:
Disassembler 2020-03-22 11:08:52 +01:00
parent 7a45daf853
commit c32365d671
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 9 additions and 3 deletions

View File

@ -1,9 +1,9 @@
IMAGE openmapkit_0.12.0-200313 IMAGE openmapkit_0.12.0-200313
FROM alpine3.11-java8_8.242.08-200313 FROM alpine3.10-nodejs10_10.19.0-200313
RUN EOF RUN EOF
# Install runtime dependencies # Install runtime dependencies
apk --no-cache add python2 nodejs apk --no-cache add python2 openjdk8-jre-base
# Install build dependencies # Install build dependencies
apk --no-cache add --virtual .deps build-base git py2-pip yarn apk --no-cache add --virtual .deps build-base git py2-pip yarn

View File

@ -2,7 +2,7 @@
set -ev set -ev
# Remove persistent data # Remove persistent data
rm -rf /srv/openmapkit rm -rf "${VOLUMES_DIR}/openmapkit"
# Unregister application # Unregister application
vmmgr unregister-app openmapkit vmmgr unregister-app openmapkit

View File

@ -0,0 +1,6 @@
IMAGE alpine3.10-nodejs10_10.19.0-200313
FROM alpine3.10_3.10.4-200313
RUN EOF
apk --no-cache add nodejs
EOF