Skip to content

Instantly share code, notes, and snippets.

@stilllearningsoumya
Forked from alexiri/resin-debian
Created December 27, 2016 18:52
Show Gist options
  • Save stilllearningsoumya/6ae54c22ae5387c2b2a6e9296c7168ef to your computer and use it in GitHub Desktop.
Save stilllearningsoumya/6ae54c22ae5387c2b2a6e9296c7168ef to your computer and use it in GitHub Desktop.
Trying to build a Debian-based docker container for ResinOS
~/resin/resin-electronjs (master) > rdt push resin --log -p -s .
* Building..
- Stopping and Removing any previous 'electronjs' container
- Building new 'electronjs' image
Step 1 : FROM resin/raspberrypi-node:slim
slim: Pulling from resin/raspberrypi-node
b173b12b886e: Pull complete
c2b53250d91b: Pull complete
95517bcccc92: Pull complete
ba4f132e6d61: Pull complete
dab4c6eb4f58: Pull complete
4e090b19f46b: Pull complete
2cf96e36d59d: Pull complete
dd026ff85547: Pull complete
ed53aa6b2b81: Pull complete
---> 207270d7467a
Step 2 : RUN apt-get update && apt-get install -y wget curl && rm -rf /var/lib/apt/lists/*
---> Running in 62ca742b1920
Err http://archive.raspberrypi.org jessie InRelease
Err http://resin-packages.s3-website-us-east-1.amazonaws.com resin InRelease
Err http://archive.raspberrypi.org jessie Release.gpg
Could not resolve 'archive.raspberrypi.org'
Err http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release.gpg
Could not resolve 'resin-packages.s3-website-us-east-1.amazonaws.com'
Err http://archive.raspbian.org jessie InRelease
Err http://archive.raspbian.org jessie Release.gpg
Could not resolve 'archive.raspbian.org'
: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/InRelease
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease
W: Failed to fetch http://resin-packages.s3-website-us-east-1.amazonaws.com/raspbian/dists/resin/InRelease
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Could not resolve 'archive.raspberrypi.org'
W: Failed to fetch http://resin-packages.s3-website-us-east-1.amazonaws.com/raspbian/dists/resin/Release.gpg Could not resolve 'resin-packages.s3-website-us-east-1.amazonaws.com'
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/Release.gpg Could not resolve 'archive.raspbian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading state information...
Unable to locate package wget
E: Unable to locate package curl
rdt push failed. Error: The command '/bin/sh -c apt-get update && apt-get install -y wget curl && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100 Error: The command '/bin/sh -c apt-get update && apt-get install -y wget curl && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
at Stream.<anonymous> (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/build/docker-utils.js:142:23)
at emitOne (events.js:96:13)
at Stream.emit (events.js:188:7)
at drain (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/node_modules/JSONStream/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/node_modules/JSONStream/node_modules/through/index.js:45:5)
at Parser.parser.onToken (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/node_modules/JSONStream/index.js:123:18)
at Parser.proto.write (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js:88:34)
at Stream.<anonymous> (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/usr/local/lib/node_modules/resin-device-toolbox/node_modules/resin-sync/node_modules/JSONStream/node_modules/through/index.js:26:11)
at IncomingMessage.ondata (_stream_readable.js:555:20)
at emitOne (events.js:96:13)
at IncomingMessage.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at IncomingMessage.Readable.push (_stream_readable.js:134:10)
at HTTPParser.parserOnBody (_http_common.js:123:22)
at Socket.socketOnData (_http_client.js:363:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:548:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment