Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chulanovskyi-bs/543f56e5735ef12d108d07f5c2cb885a to your computer and use it in GitHub Desktop.
Save chulanovskyi-bs/543f56e5735ef12d108d07f5c2cb885a to your computer and use it in GitHub Desktop.
docker env logs
users-Mac-mini:mvp user$ docker-compose up --build
Creating network "mvp_default" with the default driver
Building mvp
Step 1/5 : FROM node:12.16.1-alpine
---> f77abbe89ac1
Step 2/5 : WORKDIR /app
---> Using cache
---> ea3d8a22fd4d
Step 3/5 : COPY ./package.json ./
---> 920e728c9c24
Step 4/5 : RUN apk --no-cache --virtual build-dependencies add python make g++ libbz2 && npm install && apk del build-dependencies
---> Running in a6141f7b70cd
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/22) Installing libbz2 (1.0.8-r1)
(2/22) Installing expat (2.2.9-r1)
(3/22) Installing libffi (3.2.1-r6)
(4/22) Installing gdbm (1.13-r1)
(5/22) Installing ncurses-terminfo-base (6.1_p20200118-r3)
(6/22) Installing ncurses-libs (6.1_p20200118-r3)
(7/22) Installing readline (8.0.1-r0)
(8/22) Installing sqlite-libs (3.30.1-r1)
(9/22) Installing python2 (2.7.16-r3)
(10/22) Installing make (4.2.1-r2)
(11/22) Installing binutils (2.33.1-r0)
(12/22) Installing gmp (6.1.2-r1)
(13/22) Installing isl (0.18-r0)
(14/22) Installing libgomp (9.2.0-r4)
(15/22) Installing libatomic (9.2.0-r4)
(16/22) Installing mpfr4 (4.0.2-r1)
(17/22) Installing mpc1 (1.1.0-r1)
(18/22) Installing gcc (9.2.0-r4)
(19/22) Installing musl-dev (1.1.24-r2)
(20/22) Installing libc-dev (0.7.2-r0)
(21/22) Installing g++ (9.2.0-r4)
(22/22) Installing build-dependencies (20200421.220416)
Executing busybox-1.31.1-r9.trigger
OK: 212 MiB in 38 packages
npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
> [email protected] install /app/node_modules/sse4_crc32
> node-gyp rebuild
make: Entering directory '/app/node_modules/sse4_crc32/build'
CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
AR(target) Release/obj.target/../node-addon-api/src/nothing.a
COPY Release/nothing.a
CXX(target) Release/obj.target/sse42/src/sse42.o
AR(target) Release/obj.target/sse42.a
COPY Release/sse42.a
CXX(target) Release/obj.target/crc32c/src/crc32c.o
CXX(target) Release/obj.target/crc32c/src/table.o
SOLINK_MODULE(target) Release/obj.target/crc32c.node
COPY Release/crc32c.node
make: Leaving directory '/app/node_modules/sse4_crc32/build'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
added 107 packages from 143 contributors and audited 178 packages in 12.489s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
WARNING: Ignoring APKINDEX.70f61090.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.ca2fea5b.tar.gz: No such file or directory
(1/22) Purging build-dependencies (20200421.220416)
(2/22) Purging make (4.2.1-r2)
(3/22) Purging g++ (9.2.0-r4)
(4/22) Purging gcc (9.2.0-r4)
(5/22) Purging binutils (2.33.1-r0)
(6/22) Purging libatomic (9.2.0-r4)
(7/22) Purging libgomp (9.2.0-r4)
(8/22) Purging libc-dev (0.7.2-r0)
(9/22) Purging musl-dev (1.1.24-r2)
(10/22) Purging python2 (2.7.16-r3)
(11/22) Purging libbz2 (1.0.8-r1)
(12/22) Purging expat (2.2.9-r1)
(13/22) Purging libffi (3.2.1-r6)
(14/22) Purging gdbm (1.13-r1)
(15/22) Purging readline (8.0.1-r0)
(16/22) Purging ncurses-libs (6.1_p20200118-r3)
(17/22) Purging ncurses-terminfo-base (6.1_p20200118-r3)
(18/22) Purging sqlite-libs (3.30.1-r1)
(19/22) Purging isl (0.18-r0)
(20/22) Purging mpc1 (1.1.0-r1)
(21/22) Purging mpfr4 (4.0.2-r1)
(22/22) Purging gmp (6.1.2-r1)
Executing busybox-1.31.1-r9.trigger
OK: 7 MiB in 16 packages
Removing intermediate container a6141f7b70cd
---> 33791d76a82d
Step 5/5 : CMD npm run start
---> Running in 74a459ecb013
Removing intermediate container 74a459ecb013
---> c08b892e5b6d
Successfully built c08b892e5b6d
Successfully tagged mvp_mvp:latest
Creating mvp ... done
users-Mac-mini:mvp user$ docker logs mvp
> [email protected] start /app
> ts-node-dev ./index.ts
Using ts-node version 8.9.0, typescript version 3.8.2
Error: Error loading shared library /app/node_modules/sse4_crc32/build/Release/crc32c.node: Exec format error
at Module._extensions..node (internal/modules/cjs/loader.js:1208:18)
at Object.nodeDevHook [as .node] (/app/node_modules/ts-node-dev/lib/hook.js:61:7)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at bindings (/app/node_modules/bindings/bindings.js:112:48)
at Object.<anonymous> (/app/node_modules/sse4_crc32/index.js:9:35)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Module._compile (/app/node_modules/source-map-support/source-map-support.js:551:25)
[ERROR] 22:05:32 Error: Error loading shared library /app/node_modules/sse4_crc32/build/Release/crc32c.node: Exec format error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment