yuvipanda
c527913d28
Add makefile targets to push docker images
2017-05-28 23:26:27 -07:00
yuvipanda
496abd9e91
Generate + set locales in the base s2i images
2017-05-28 23:26:27 -07:00
yuvipanda
6206a4494f
Upgrade s2i builders to inherit from Ubuntu 17.04
...
We'll decide on our upgrade policy very soon!
Fixes #5
2017-05-28 23:26:27 -07:00
yuvipanda
d70a9b5ff5
Add makefile for building and pushing image
2017-05-28 19:25:56 -07:00
yuvipanda
a10c126506
Don't print appendix on each run for legacy dockerfile
2017-05-28 19:25:56 -07:00
yuvipanda
e81703aaaf
Cleanup dockerfile a little
...
- Don't do pip install -U pip - this makes the image build more
non-deterministic than necessary. 17.04 has the latest version of
pip, and we can stick to newest ubuntu quite aggressivley to keep
up in the cases it matters.
- Set --no-cache-dir in pip install, so we don't actually build
wheels - they are useless in our situation. This also lets us not
have to install wheels
- Make note about
2017-05-27 18:09:02 -07:00
Yuvi Panda
b1f12d914e
Merge pull request #16 from minrk/old-binder-dockerfile
...
add LegacyBinderDockerfile buildpack
2017-05-25 15:40:27 -07:00
Min RK
82ccb38e3a
move dockerfile appendix into LegacyBinderDockerBuildPack.dockerfile_appendix
...
and make it overrideable
2017-05-25 15:37:33 -07:00
Min RK
766eee29e6
add legacy binder dockerfile buildpack
...
- stages files, which previous binder did automatically and repo2docker does not
- installs required versions of ipykernel, jupyterhub, notebook
- registers kernelspecs explicitly
- launches notebook server with python3 env
- removes nb_conda_kernels, which was causing trouble
- sets JUPYTER_PATH so kernelspecs and extensions that were being installed into the python 2 env will still be picked up
2017-05-25 15:15:37 -07:00
Min RK
db66f1dc06
only log build output if capture=true
...
use stdout.write otherwise
2017-05-25 15:10:08 -07:00
Min RK
feaf46e5fc
respect docker env in docker buildpack
2017-05-25 15:09:30 -07:00
Carol Willing
914f49ece2
Add link to builder doc
2017-05-24 17:49:59 -07:00
Min RK
6b9508f45b
update manifest for sdist
2017-05-24 17:21:11 -07:00
Min RK
e7674ce96c
bump version to 0.2.0
2017-05-24 17:17:57 -07:00
Yuvi Panda
032d98f956
Merge pull request #14 from minrk/newlines
...
line endings!
2017-05-24 16:54:52 -07:00
Min RK
7d64687d4e
Merge pull request #11 from willingc/iss9
...
Add builder creation doc
2017-05-24 16:48:38 -07:00
Min RK
e7f0ab645e
comment about output capturing
2017-05-24 16:42:25 -07:00
Min RK
698f9e1196
flush lines with carriage returns
...
for terminal progress bars
2017-05-24 16:33:35 -07:00
Min RK
f3505db967
only capture logs when doing json logging
...
and don’t do json logging by default
log messages include newlines, carriage returns so that they can be handled correctly in terminal frontends
2017-05-24 14:11:37 -07:00
Min RK
3ca1c47eda
Merge pull request #10 from jupyter/port-forward
...
Use same port in host and docker container
2017-05-24 12:25:15 -07:00
Yuvi Panda
11eb57cbb1
Merge pull request #12 from minrk/bundle-s2i
...
bundle s2i in wheels
2017-05-24 12:07:56 -07:00
Min RK
560b3ed563
append bundled s2i instead of prepend
...
so it’s lower priority than whatever is already on PATH
2017-05-24 11:47:20 -07:00
Min RK
54d5f85ced
upgrade pip
2017-05-24 10:52:04 -07:00
Min RK
683a94fb80
apply platform tag to wheels
2017-05-24 10:01:24 -07:00
Carol Willing
1ed96cbef5
Fix format of command
2017-05-24 10:00:44 -07:00
Carol Willing
a4d7abf45b
Correct indent level
2017-05-24 09:57:54 -07:00
Carol Willing
8912ef3c7a
Add builder creation doc
2017-05-24 09:54:43 -07:00
Min RK
c158daab9d
use bundled s2i by adding package to PATH
2017-05-24 09:49:23 -07:00
Min RK
bba7582886
bundle s2i binary
...
only for linux, darwin for now. Still need to apply tag to wheels.
2017-05-24 09:48:53 -07:00
yuvipanda
cb11332c6f
Use same port in host and docker container
...
Makes it work on Linux and the default OS X install I think
2017-05-23 18:09:02 -07:00
yuvipanda
c7dae78a51
Move image existence check to a separate repo
2017-05-23 17:56:03 -07:00
Yuvi Panda
d3c099e8a2
Merge pull request #7 from minrk/s2i-build_image
...
further simplify s2i buildpacks
2017-05-23 12:46:47 -07:00
Yuvi Panda
2843801519
Merge pull request #8 from minrk/positional-args
...
support repo as positional arg
2017-05-23 12:43:40 -07:00
Min RK
7924113649
support repo as positional arg
...
and flesh out some Application basics: version, name, docstring
2017-05-23 12:29:27 -07:00
Min RK
1d74762c31
further simplify s2i buildpacks
...
setting build_image is enough, without overriding .build()
2017-05-23 12:09:48 -07:00
Yuvi Panda
fa2bc21f87
Merge pull request #6 from willingc/readme
...
Update README
2017-05-23 10:27:57 -07:00
Carol Willing
cc60c84d41
Update README
2017-05-23 00:28:12 -07:00
yuvipanda
b9efde90e9
Print out the host port number in a log message
...
Eventually, we should actually be passing the port number
inside the docker container, after verifying that it is available
on the host. We can deal with races by doing the same thing that
ipython notebook does.
2017-05-22 23:57:40 -07:00
yuvipanda
a0f539faaf
Don't use host network for running containers
...
- Doesn't really work on OS X. BOO!
2017-05-22 23:33:23 -07:00
yuvipanda
9adb8aa947
Use host networking when running
...
Since we only expect this to be happening on users computers
when they are running this to test, host networking solves a
bunch of surprises around access to ports, as well as figuring
out which port the notebook should be listening on (since it
can just rely on the logic inside the notebook)
Dangerous when run on a cloud environment!
2017-05-22 23:02:18 -07:00
yuvipanda
9fca3bf480
Kill the container when our program exits
2017-05-22 23:00:37 -07:00
yuvipanda
eac759ccd4
Add explicit dependency on escapism
2017-05-22 22:55:44 -07:00
yuvipanda
6505ddc564
Allow running just-built container
...
- make push optional
2017-05-22 22:55:17 -07:00
yuvipanda
ae124ec2f7
Make push optional and default to False
...
Let's optimize the defaults for good commandline usage rather
than for binderhub usage
2017-05-22 22:17:02 -07:00
yuvipanda
542c7a9a1c
Set default repo source to full path of current dir
...
Rather than just '.'
2017-05-22 22:16:46 -07:00
yuvipanda
657db33017
Set a default image name if none is provided
...
It's kind of shitty but better than just erroring.
2017-05-22 22:16:30 -07:00
yuvipanda
a7d85c48fc
Fix __main__ entrypoint to actually work
2017-05-22 21:30:28 -07:00
yuvipanda
e3224392e0
Add a __main__ and an entrypoint
2017-05-22 20:39:12 -07:00
yuvipanda
13226e1f27
Rename source_url and source_ref to repo and ref
...
Makes more sense, and also now consistent with the repository
name
2017-05-22 20:32:13 -07:00
yuvipanda
310bc0fbfe
Add a little more bit of documentation
2017-05-22 20:28:28 -07:00