From c32365d6714890be5b7365fb3454b5938664f3cf Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sun, 22 Mar 2020 11:08:52 +0100 Subject: [PATCH] OMK requires nodejs<=10 --- lxc-apps/openmapkit/image | 4 ++-- lxc-apps/openmapkit/uninstall.sh | 2 +- lxc-shared/alpine3.10-nodejs10/image | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 lxc-shared/alpine3.10-nodejs10/image diff --git a/lxc-apps/openmapkit/image b/lxc-apps/openmapkit/image index 0166811..f1e3bc8 100644 --- a/lxc-apps/openmapkit/image +++ b/lxc-apps/openmapkit/image @@ -1,9 +1,9 @@ IMAGE openmapkit_0.12.0-200313 -FROM alpine3.11-java8_8.242.08-200313 +FROM alpine3.10-nodejs10_10.19.0-200313 RUN EOF # Install runtime dependencies - apk --no-cache add python2 nodejs + apk --no-cache add python2 openjdk8-jre-base # Install build dependencies apk --no-cache add --virtual .deps build-base git py2-pip yarn diff --git a/lxc-apps/openmapkit/uninstall.sh b/lxc-apps/openmapkit/uninstall.sh index dffba05..238aa2e 100755 --- a/lxc-apps/openmapkit/uninstall.sh +++ b/lxc-apps/openmapkit/uninstall.sh @@ -2,7 +2,7 @@ set -ev # Remove persistent data -rm -rf /srv/openmapkit +rm -rf "${VOLUMES_DIR}/openmapkit" # Unregister application vmmgr unregister-app openmapkit diff --git a/lxc-shared/alpine3.10-nodejs10/image b/lxc-shared/alpine3.10-nodejs10/image new file mode 100644 index 0000000..483ab63 --- /dev/null +++ b/lxc-shared/alpine3.10-nodejs10/image @@ -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