dssg / tyra

Prediction model evaluation
Other
4 stars 1 forks source link

Dockerfile fails #116

Open jtwalsh0 opened 6 years ago

jtwalsh0 commented 6 years ago
docker build -t "tyra:test" .
Sending build context to Docker daemon  523.8kB
Step 1/10 : FROM python:3.6
3.6: Pulling from library/python
f49cf87b52c1: Pull complete 
7b491c575b06: Pull complete 
b313b08bab3b: Pull complete 
51d6678c3f0e: Pull complete 
09f35bd58db2: Pull complete 
0f9de702e222: Pull complete 
73911d37fcde: Pull complete 
99a87e214c92: Pull complete 
Digest: sha256:98149ed5f37f48ea3fad26ae6c0042dd2b08228d58edc95ef0fce35f1b3d9e9f
Status: Downloaded newer image for python:3.6
 ---> c1e459c00dc3
Step 2/10 : RUN apt-get -y update &&     apt-get install unzip sudo
 ---> Running in eb81c602d914
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2434 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [608 kB]
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:7 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 10.1 MB in 7s (1261 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  zip
The following NEW packages will be installed:
  sudo unzip
0 upgraded, 2 newly installed, 0 to remove and 18 not upgraded.
Need to get 1016 kB of archives.
After this operation, 2786 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main sudo amd64 1.8.10p3-1+deb8u5 [854 kB]
Get:2 http://deb.debian.org/debian/ jessie/main unzip amd64 6.0-16+deb8u3 [162 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1016 kB in 2s (431 kB/s)
Selecting previously unselected package sudo.
(Reading database ... 21636 files and directories currently installed.)
Preparing to unpack .../sudo_1.8.10p3-1+deb8u5_amd64.deb ...
Unpacking sudo (1.8.10p3-1+deb8u5) ...
Selecting previously unselected package unzip.
Preparing to unpack .../unzip_6.0-16+deb8u3_amd64.deb ...
Unpacking unzip (6.0-16+deb8u3) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for mime-support (3.58) ...
Setting up sudo (1.8.10p3-1+deb8u5) ...
Setting up unzip (6.0-16+deb8u3) ...
Processing triggers for systemd (215-17+deb8u7) ...
Removing intermediate container eb81c602d914
 ---> ef87726f783b
Step 3/10 : RUN mkdir /tyra
 ---> Running in 8ac806bc9157
Removing intermediate container 8ac806bc9157
 ---> 29cd35734bac
Step 4/10 : ADD ./ /tyra/
 ---> 837d15816687
Step 5/10 : WORKDIR /tyra/frontend
Removing intermediate container 969a5f565432
 ---> e341ca857fc3
Step 6/10 : RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - &&     apt-get install -y nodejs &&     npm cache clean -f &&     npm install  -g n &&     n stable &&     npm install npm@latest -g &&     npm install &&     npm run build
 ---> Running in e8d1cf52a182

## Installing the NodeSource Node.js v8.x repo...

## Populating apt-get cache...

+ apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://deb.debian.org jessie InRelease
Hit http://deb.debian.org jessie-updates InRelease
Get:1 http://security.debian.org jessie/updates/main amd64 Packages [608 kB]
Hit http://deb.debian.org jessie Release.gpg
Hit http://deb.debian.org jessie Release
Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:3 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 9695 kB in 7s (1265 kB/s)
Reading package lists...

## Installing packages required for setup: apt-transport-https lsb-release...

+ apt-get install -y apt-transport-https lsb-release > /dev/null 2>&1

## Confirming "jessie" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/jessie/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK

## Creating apt sources list file for the NodeSource Node.js v8.x repo...

+ echo 'deb https://deb.nodesource.com/node_8.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_8.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit http://security.debian.org jessie/updates InRelease
Get:1 https://deb.nodesource.com jessie InRelease [4646 B]
Ign http://deb.debian.org jessie InRelease
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [608 kB]
Hit http://deb.debian.org jessie-updates InRelease
Hit http://deb.debian.org jessie Release.gpg
Hit http://deb.debian.org jessie Release
Get:3 https://deb.nodesource.com jessie/main Sources [762 B]
Get:4 https://deb.nodesource.com jessie/main amd64 Packages [1006 B]
Get:5 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 9702 kB in 8s (1204 kB/s)
Reading package lists...

## Run `apt-get install nodejs` (as root) to install Node.js v8.x and npm

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 12.8 MB of archives.
After this operation, 61.4 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_8.x/ jessie/main nodejs amd64 8.9.4-1nodesource1 [12.8 MB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 12.8 MB in 13s (949 kB/s)
Selecting previously unselected package nodejs.
(Reading database ... 21758 files and directories currently installed.)
Preparing to unpack .../nodejs_8.9.4-1nodesource1_amd64.deb ...
Unpacking nodejs (8.9.4-1nodesource1) ...
Setting up nodejs (8.9.4-1nodesource1) ...
npm WARN using --force I sure hope you know what you are doing.
/usr/bin/n -> /usr/lib/node_modules/n/bin/n
+ n@2.1.8
added 1 package in 0.803s

     install : node-v9.4.0
       mkdir : /usr/local/n/versions/node/9.4.0
       fetch : https://nodejs.org/dist/v9.4.0/node-v9.4.0-linux-x64.tar.gz
######################################################################## 100.0%
   installed : v9.4.0

npm WARN npm npm does not support Node.js v9.4.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/
WARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.
Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is compatible with Node.js 9 and above.
npm[241]: ../src/node_zlib.cc:437:static void node::{anonymous}::ZCtx::Init(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionary)"' failed.
 1: node::Abort() [npm]
 2: 0x11f15fb [npm]
 3: 0x1266f5a [npm]
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [npm]
 5: 0xb7e37c [npm]
 6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [npm]
 7: 0x37c07ba842fd
Aborted
The command '/bin/sh -c curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - &&     apt-get install -y nodejs &&     npm cache clean -f &&     npm install  -g n &&     n stable &&     npm install npm@latest -g &&     npm install &&     npm run build' returned a non-zero code: 134