turtl/tracker

docker-compose build failed

jjarolim opened this issue · 0 comments

Hi -

I don't seem to be able to start a turtl container - the build process throws a lot of warnings and then exits with an error :/

Does anyone has any hint how i may get it past building?

Here's the console output containing the error:

root@serverchen:/var/docker/turtl/server# docker-compose up
Creating network "server_default" with the default driver
Building turtl-server
Step 1/9 : FROM node:11-alpine
 ---> f18da2f58c3d
Step 2/9 : ARG TURTL_SERVER_PLUGIN_REPO
 ---> Using cache
 ---> bfbdb3a7a44a
Step 3/9 : ARG TURTL_SERVER_PLUGIN_LOCATION
 ---> Using cache
 ---> ef6b7d5b8b3b
Step 4/9 : EXPOSE 8181
 ---> Using cache
 ---> b4a84cdf3b70
Step 5/9 : WORKDIR /app
 ---> Using cache
 ---> 84b6af786a5f
Step 6/9 : COPY . .
 ---> c034aa1afc0e
Step 7/9 : COPY config/config.yaml.docker config/config.yaml
 ---> eac32627e04b
Step 8/9 : RUN apk add -U bash git &&  npm install --production &&  ./scripts/install-plugins.sh &&  mkdir /plugins /uploads
 ---> Running in 2c3feaf970f0
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/12) Installing ncurses-terminfo-base (6.1_p20190105-r0)
(2/12) Installing ncurses-terminfo (6.1_p20190105-r0)
(3/12) Installing ncurses-libs (6.1_p20190105-r0)
(4/12) Installing readline (7.0.003-r1)
(5/12) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(6/12) Installing ca-certificates (20191127-r2)
(7/12) Installing nghttp2-libs (1.35.1-r2)
(8/12) Installing libssh2 (1.9.0-r1)
(9/12) Installing libcurl (7.64.0-r5)
(10/12) Installing expat (2.2.8-r0)
(11/12) Installing pcre2 (10.32-r1)
(12/12) Installing git (2.20.4-r0)
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 31 MiB in 28 packages
npm WARN lifecycle turtl-server@0.1.3~preinstall: cannot run in wd turtl-server@0.1.3 bash scripts/install-plugins.sh (wd=/app)
npm WARN deprecated request@2.81.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@4.2.1: this library is no longer supported
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.0.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 155 packages from 178 contributors and audited 155 packages in 6.417s
found 29 vulnerabilities (5 low, 10 moderate, 11 high, 3 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
**/bin/sh: ./scripts/install-plugins.sh: not found**
ERROR: Service 'turtl-server' failed to build: The command '/bin/sh -c apk add -U bash git &&  npm install --production &&  ./scripts/install-plugins.sh &&  mkdir /plugins /uploads' returned a non-zero code: 127