nickola105
@nickola105
начинающий

Почему фейлится билд?

Подскажите может кто сталкивался с проблемой 139
Login Succeeded
$ docker build -f Dockerfile -t $CI_REGISTRY_IMAGE/customer-front:$CI_COMMIT_REF_NAME --pull .
Sending build context to Docker daemon  79.99MB

Step 1/11 : FROM node:7.9-alpine
7.9-alpine: Pulling from library/node
Digest: sha256:aa698f64736e0a8ae1c4d8ffaf62fc82fc81a2140d3f1c8d1457f9e491b1b444
Status: Image is up to date for node:7.9-alpine
 ---> 7fce0a61c1d6
Step 2/11 : RUN apk add --update     python     python-dev     py-pip     git     build-base     bash   && pip install virtualenv   && rm -rf /var/cache/apk/*
 ---> Using cache
 ---> 4d4efde42f60
Step 3/11 : WORKDIR /usr/src/app
 ---> Using cache
 ---> 84f1b6a067ac
Step 4/11 : ARG NODE_ENV
 ---> Using cache
 ---> cd6848e396c0
Step 5/11 : ENV NODE_ENV $NODE_ENV
 ---> Using cache
 ---> 72cf4a6c4582
Step 6/11 : COPY package.json /usr/src/app/
 ---> Using cache
 ---> 0fa9d4facee0
Step 7/11 : RUN npm install && npm cache clean
 ---> Using cache
 ---> f5f889c2ea7a
Step 8/11 : COPY . /usr/src/app
 ---> c8eeb1053369
Step 9/11 : RUN rm -rf node_modules && rm -rf dist
 ---> Running in ca7e7b3c109e
Removing intermediate container ca7e7b3c109e
 ---> acc10622b48e
Step 10/11 : RUN yarn
 ---> Running in 347a13c7f9fd
yarn install v0.23.2
info No lockfile found.
[1/4] Resolving packages...
warning babel-preset-es2015@6.24.1:   Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! 
warning precss > postcss-partial-import > fs-promise@0.3.1: Use mz or fs-extra^3.0 with Promise Support
warning css-loader > cssnano > postcss-merge-rules > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > autoprefixer > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[2/4] Fetching packages...
warning fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 61.60s.
Removing intermediate container 347a13c7f9fd
 ---> 454f057f558a
Step 11/11 : RUN yarn bundle
 ---> Running in 9201fd52a6ba
yarn bundle v0.23.2
$ better-npm-run bundle 
running better-npm-run in /usr/src/app
Executing script: bundle

to be executed: webpack -p --display --verbose --config webpack.config.prod.js 
Prepare branding assets...
[starrys] Copying: logo.svg => /usr/src/app/src/_assets
[starrys] Copying: colors.scss => /usr/src/app/src/_styles
[starrys] Copying: favicon.ico => /usr/src/app/static/html
[starrys] Copying: apple-touch-icon.png => /usr/src/app/static/html
Segmentation fault (core dumped)
error Command failed with exit code 139.
The command '/bin/sh -c yarn bundle' returned a non-zero code: 1

куда копать?
  • Вопрос задан
  • 683 просмотра
Пригласить эксперта
Ответы на вопрос 1
Deissh
@Deissh
I like Python, Node.JS, Go, pain, bugs and my cat.
В логе все написано же Segmentation fault (core dumped)
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы