Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sagemath/docker-images

Dockerfiles for Sage
https://github.com/sagemath/docker-images

Merge pull request #39 from saraedum/patch-1

Archive this repository

beef02bd454c32ead387fb3c9b9e93a56eb0cbb6 authored about 5 years ago by E. M. Bray <[email protected]>
Archive this repository

d1deacc57672877529a5119a8512d07f01a33b0d authored over 5 years ago by Julian Rüth <[email protected]>
Merge branch 'master' of github.com:sagemath/docker-images

13970aebe0c6f5e8ae62c9b1b257b3e9533c0fb8 authored about 6 years ago by Erik M. Bray <[email protected]>
Merge pull request #33 from slel/patch-1

Add JupyterLab

b7dee3fc491ded8da76c7c9f9a1dbd3f427dac02 authored about 6 years ago by William Stein <[email protected]>
Add JupyterLab

Add `sage -pip install jupyterlab`.

Remove pip installations and upgrades:
- terminado (now ...

876527e3943d0a707d47f01285e2e8f1246c898a authored about 6 years ago by Samuel Lelièvre <[email protected]>
enable the pyflakes plugin on patchbot by default

ba89790dc7a8de550be070c7bdd3a1b9a010d40a authored over 6 years ago by Erik M. Bray <[email protected]>
update base image to bionic

f041f2200df6557dc178b0131d91186413b13f56 authored over 6 years ago by Erik M. Bray <[email protected]>
Make each Dockerfile dependent on other files in the context

This isn't 100% foolproof since I think Docker doesn't care about files
in the context that you ...

66b5dfc1192f6c7d1a382ba0c7e671ca3c1790e3 authored about 7 years ago by Erik M. Bray <[email protected]>
Store the image hash in the stamp file for built images

3c248c80642b9bcfbb42e7f3a22b3ee70e6f3dea authored about 7 years ago by Erik M. Bray <[email protected]>
make the stamps and logs dirs hidden by default

7b678936e15fbc46227cddf63dc77e3b1c84b561 authored about 7 years ago by Erik M. Bray <[email protected]>
Fix shell syntax bug

0a41a5b34ace045ab5c050248cd96fba7c224e7a authored about 7 years ago by Erik M. Bray <[email protected]>
Added a README.md note about tag schemes.

dc1b4d1d0b4a00e2edbc050a219f4a20f02c0c77 authored about 7 years ago by Erik M. Bray <[email protected]>
My original idea of filling out /etc/environment didn't work.

This approach seems a bit more robust, if not still a bit ugly. It adds
a sage-entrypoint which...

acbfc7d54d435cf11b6325e93eab2c3dfe9ee48c authored about 7 years ago by Erik M. Bray <[email protected]>
Copy over the install_saghe.sh and post_install_sage.sh scripts separately

This means (I think) that we can make changes to post_install_sage.sh without invaliding the ins...

c1e27a5de4a1cc4757fb6de70a9ca2ff2f9745dd authored about 7 years ago by Erik M. Bray <[email protected]>
Oops--these are spkgs, not pip installs.

0c536f732d9a5999b81e406e612a265280d923cd authored about 7 years ago by Erik M. Bray <[email protected]>
Experimental changes motivated in particular to use on Binder:

* pre-install additional Jupyter kernels
* set up the default environment as though sage-env wer...

069a8e010fbff1dc011b32c21e72c5016d010804 authored about 7 years ago by Erik M. Bray <[email protected]>
Update the base image to use the Ubuntu Xenial LTS release

0c49d7c90775baf362bd6f1b9298863a08e30467 authored about 7 years ago by Erik M. Bray <[email protected]>
Clean the base image as well.

Add a clean-all target to clean all images.

4c66b802ca99c14410a2e159430e7fceca1d7ebe authored about 7 years ago by Erik M. Bray <[email protected]>
Add clean- targets for each image

4d000eb9c8c85feb5a0861f5b703977ca2277556 authored about 7 years ago by Erik M. Bray <[email protected]>
Add N_CORES so this doesn't complain about an invalid build argument

f956c38159736b90d50dc59a2495b262cb7899ce authored about 7 years ago by Erik M. Bray <[email protected]>
Add some fixes for testing--for some images we don't have to run the full test suite

In particular, for sagemath-patchbot, running the Sage test suite is actually
part of the image ...

96a7a4b9d1ae2ebba92735705f91cb381e27262f authored over 7 years ago by Erik M. Bray <[email protected]>
Pass N_CORES to docker build when building the sagemath-patchbot image

b333aeb9eebb4def4401bc2e0600bc327897f236 authored over 7 years ago by Erik M. Bray <[email protected]>
Use a config file to configure the patchbot image--N_CORES can be passed in at build time.

e5139be8758202dbe5629d09efa185e6d59756fc authored over 7 years ago by Erik M. Bray <[email protected]>
Update the patchbot version to install

abd7cd23531da573c12750017a44dc2fb61e9607 authored over 7 years ago by Erik M. Bray <[email protected]>
Note about an issue we were being severely affected by

c5f34624313d68f68dc7489e27b33bfe17e0f21a authored over 7 years ago by Erik M. Bray <[email protected]>
Better error handling when starting/stopping non-existent containers

d8398228567fb8ba873103e0fb0c26b1039fa0cc authored over 7 years ago by Erik M. Bray <[email protected]>
Added some more notes to the infrastructure readme

24ff28efeb8714a2f1112c2f5f3514ee0920a984 authored over 7 years ago by Erik M. Bray <[email protected]>
Increase the time limit for respawn; need a little more time to catch 10 immediate failures

df193888a5eb8d7cb0ce797e024ce5a8efc25b92 authored over 7 years ago by Erik M. Bray <[email protected]>
Add respawn limit--if the container can't be restarted after 10 tries in 10 seconds give up; the image itself might be broken or something

ae2cb34d3b31f9455f66ef97af1e38a3d3851982 authored over 7 years ago by Erik M. Bray <[email protected]>
Added better handling in case of error; don't create the .cid file

5e77fab4778917f1fb42ff944e82c6d0f877c6eb authored over 7 years ago by Erik M. Bray <[email protected]>
Merge branch 'master' of github.com:sagemath/docker-images

cfa6583d5464778d11141a42ca2deb7773ed3e1a authored over 7 years ago by Erik M. Bray <[email protected]>
Perform both test runs in the same container

60e7ce5c4fdd56f06ad3772756a5389d7749025b authored over 7 years ago by Erik M. Bray <[email protected]>
Simplify handling of sagemath-develop by making it just a symlink to sagemath

0109270bded93e2ca464b918a078992599e605bf authored over 7 years ago by Erik M. Bray <[email protected]>
Merge branch 'master' of github.com:sagemath/docker-images

c5db706de3cdef60f157e1a776674bb00a6fca1f authored over 7 years ago by Erik M. Bray <[email protected]>
Update README.md

Fix indentation for pre-formatted text.

6c01989c8d906901cc1b4925304733e689312202 authored over 7 years ago by Erik Bray <[email protected]>
Updates to the patchbot Dockerfile; now installs patchbot from pypi; tries to work around some test failures.

e39daaf5a079c7f0c2f4db77a4fc82bc7044e35e authored almost 8 years ago by Erik M. Bray <[email protected]>
Newline for better legibility

0e3483dd15b7fb0bd6e68c37d166aa1beac4b2c7 authored almost 8 years ago by Erik M. Bray <[email protected]>
Removed 'infrastructure' documentation from the main Readme into a separate directory (with updated docs for setting up the patchbot container)

bbc3c79b2b960e7e4e34236e182184eb4a348444 authored almost 8 years ago by Erik M. Bray <[email protected]>
Merge branch 'master' of https://github.com/sagemath/docker-images

Conflicts:
Makefile
sagemath/Dockerfile

728201261da08616f6f2311b7d795c970be3a086 authored almost 8 years ago by Erik M. Bray <[email protected]>
Clean up the Readme a bit:

Removed the 'experimental' disclaimers.
Removed some duplicate information.
Removed details only...

16df7ce640cdd14a9bea7ea8c914e10c7e002fbb authored almost 8 years ago by Erik M. Bray <[email protected]>
Several improvements to the Makefile:

* Use stamp files to track / order completion of major steps, which now use
those stamp file...

529bead2047f7c922096ff511364dd5b7851c324 authored almost 8 years ago by Erik M. Bray <[email protected]>
A couple enhancements to the Makefile/Dockerfile:

* When doing a release build, ensure that the SAGE_VERSION variable is
defined manually (rat...

2a79bef0b6c3a9122e2c188a291dd78a546e963f authored almost 8 years ago by Erik M. Bray <[email protected]>
Use git:// instead of https:// since the latter isn't working right now

3e2f538fe02160afe4af6646dd370564ed77338f authored almost 8 years ago by Erik M. Bray <[email protected]>
Add the 'sage' user to the sudoers list without a password (so that users may run commands with sudo within their container if they wish)

18ff7f161bb9d2f7165aa76dfea758317f5256d9 authored almost 8 years ago by Erik M. Bray <[email protected]>
Adds a new sagemath-base Dockerfile that can serve as a common base

image for the other Sage images (this has been brought up, for example, in #4).

Also adds a new ...

9cac8785c09c85880f51241638de2ec6c145800e authored almost 8 years ago by Erik M. Bray <[email protected]>
Add the 'sage' user to the sudoers list without a password (so that users may run commands with sudo within their container if they wish)

e2b3d013d311e93eca754ff3d18d2be4c8495408 authored almost 8 years ago by Erik M. Bray <[email protected]>
Move the ARGs to after the apt-get commands for better cache performance.

063a002eb386a125fbd552ea6ce009e5f5ba1c3c authored almost 8 years ago by Erik M. Bray <[email protected]>
Testing a release version should include the SAGE_VERSION tag

10b9601173788bc1b1857ce648adf556eaa9624e authored almost 8 years ago by Erik M. Bray <[email protected]>
Merge branch 'master' of https://github.com/sagemath/docker-images

df59955cd1ef83d2480a39a1407a2b53ff291c85 authored almost 8 years ago by Erik M. Bray <[email protected]>
Make TAG_LATEST false by default; this is better for development/testing. It might be better if we only tagged a release after a successful test.

0dd6cad2b7c6bd83ce2300500a0039f70541a599 authored almost 8 years ago by Erik M. Bray <[email protected]>
Speed up running tests

a69e042bfed4d9ad16cd1a49761bf7e0b70a97eb authored almost 8 years ago by Erik M. Bray <[email protected]>
fix typo

adf1b2257980a3fbf28ff08864c97c991f96d563 authored about 8 years ago by William Stein <[email protected]>
Several updates/improvements to the makefile

* Updated the default SAGE_VERSION to 7.4 (the latest)
* Reworked the targets so now there are s...

989bd3902b5ebe5ce5eedc69fec15ea72eae8d35 authored about 8 years ago by Erik M. Bray <[email protected]>
Annoyingly docker build fails if you pass in a --build-arg that is not defined in the Dockerfile. Should probably change this in the makefile itself but for now simpler to just define the ARG in the dockerfiles.

c1cd3fee7bc9f2d52c0514da092f997f9f914da3 authored over 8 years ago by Erik M. Bray <[email protected]>
Update the default Sage version to 7.2, the latest release. Later will add some means to determine this automatically.

b9890ea82186eab246ea70ff386e8a975f8adf58 authored over 8 years ago by Erik M. Bray <[email protected]>
Use the new 'bare' banner instead of no banner. This will fix the remaining two doctests (it won't work for older versions of sage but it should still result in no banner which is okay)

34cf3657dc2da2adc1c4ba426fdee056af29d3d6 authored over 8 years ago by Erik M. Bray <[email protected]>
Set myself to the maintainer, as that is more realistically the current situation.

38fb898bb7bc39814cd390666877b846932d099d authored over 8 years ago by Erik M. Bray <[email protected]>
Don't use ./sage here since this script is not necessarily run from SAGE_TARGET

7ef62dc88491a57918b911ae107675d6da5ee2f1 authored over 8 years ago by Erik M. Bray <[email protected]>
Use the sage version for the image tag name--the default version is specified in the makefile and would have to be updated with new Sage releases--later might find a way to autodetect the latest version

81135e5a63045b93bda7a0075d4bbd5b170a44cf authored over 8 years ago by Erik M. Bray <[email protected]>
Don't add sage user to sudoers

840121c58a696d66db0731891f6946c3613b9385 authored over 8 years ago by Erik M. Bray <[email protected]>
Fixed markdown

5314fad61a47bc53e529662651c154ce1ef158ef authored over 8 years ago by Nicolas M. Thiéry <[email protected]>
Updated documentation about recreating our virtual machine in Paris Sud

d6e6443f09d2399948424cc792ba68e8941a605d authored over 8 years ago by Nicolas M. Thiéry <[email protected]>
Merge branch 'master' of github.com:sagemath/docker-images

d46a50cb8a55ab2c6b3f3ede10c47ccc91059476 authored over 8 years ago by Nicolas M. Thiéry <[email protected]>
Added TODO

042904a6561c2a64394461bb9c69b029f22b84eb authored over 8 years ago by Nicolas M. Thiéry <[email protected]>
Started adding notes about the infrastructure in Orsay for building the images

faee4ca01265f3b6545d579dc77d3199997d8ac9 authored over 8 years ago by Nicolas M. Thiéry <[email protected]>
D'oh! Can't run post_install_sage.sh if we're deleting it first

5368f83534c98337771774b32574422e133ba76e authored almost 9 years ago by Erik M. Bray <[email protected]>
This file should be marked executable

c8877ec1b751875dc49c61aab16108cb5b41ec69 authored almost 9 years ago by Erik M. Bray <[email protected]>
Don't display the sage banner for now, as it causes the docker client to crash on Windows :(

2c90e030305d09f50dcd547f39ef8e5bac4bb628 authored almost 9 years ago by Erik M. Bray <[email protected]>
Move some of the post-install steps to a separate script, so that it can be updated without necessarily have to rebuild all of sage (since the individual intermediate images can be cached separately). Also set the SHELL environment variable explicitly to /bin/bash.

34c99b95fcc2a4d6262d926d831b155470fdb2b5 authored almost 9 years ago by Erik M. Bray <[email protected]>
Update README.md

Fixes a pervasive typo I was making at some point...

3449f266106ec0f574ac6803498da386e805e1a1 authored almost 9 years ago by Erik Bray <[email protected]>
Be explicit that Sage should not build its own GCC--although we have fixed this implicitly by making sure gfortran is installed, I would like to be explicit about this.

1b1eae390347eb44794859eb6c9fc82ceb4663b7 authored almost 9 years ago by Erik M. Bray <[email protected]>
Actually just go ahead and delete everything in /tmp

41ff216944417993f5eccd4ccae79e12ef20fb90 authored almost 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #18 from embray/reorg-develop

Reorg develop

13aeab6d7840ed286b2deaaefd28dd9556cebed5 authored almost 9 years ago by Erik Bray <[email protected]>
Make it possible to pass in addtional arguments to 'docker build' via make--especially useful for testing, such as using --no-cache.

2497ed72023e1e9548bf239c47488e8e02eac89e authored almost 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #16 from embray/reorg

First reorganization

a77dc10a84b38a2f363d5a82abde97bfca60bd57 authored almost 9 years ago by Erik Bray <[email protected]>
Oops! build-essential doesn't include gfortran (what are you trying to say by that Ubuntu?), and this results in gcc being built by Sage...

9cdc6dec35efc66384368bacb94136c45d7993dc authored almost 9 years ago by Erik M. Bray <[email protected]>
Oops! Turns out make micro_release is either broken, or doesn't do what I thought it did. Because it depends on 'misc-clean', which deletes build/make/Makefile, and then depeneds on another target called 'sagelib-clean' which is found only in build/make/Makefile, so the rule requires build/make/Makefile to be regenerated which means re-running ./configure, etc. Probably should report that upstream.

f549f87901f951b3814838ccf98ababa7c71ed9d authored almost 9 years ago by Erik M. Bray <[email protected]>
make micro_release does the same as make misc-clean and make -C src/ clean, plus a bit of other cleanup such as stripping binaries. Also only perform build cleanup on release versions. For the develop version leave everything just as though sage has just been built.

68157c9903adbb8b8bc25f69a7b2859456710802 authored almost 9 years ago by Erik M. Bray <[email protected]>
Eliminate the separate Dockerfile for sagemath-develop. This actually allows a lot of simplification. We don't have separate directories / build contexts for sagemath and sagemath-develop. Now sagemath-develop is just the same as building sagemath, with some slightly different options passed to the build via --build-arg, and also some slightly different behavior of install_sage.sh depending on whether the sage branch is 'develop'

bd16eae60823ea5f894e14adba2be5b141a9bb09 authored almost 9 years ago by Erik M. Bray <[email protected]>
Adding some clarification I meant to include.

cb02bd9b26cd79ee8e15d2dcbb4618fe49e77d1c authored almost 9 years ago by Erik M. Bray <[email protected]>
Oops, this configuration should also be performed as the 'sage' user so that it goes into the correct .sage directory.

427b6ac0446efc8396218335ffa0cbc0dcf9989f authored almost 9 years ago by Erik M. Bray <[email protected]>
Reworked Sage installation script to be shared between

sagemath and sagemath-develop images, reducing the duplication
between them. Improved the Makefu...

2e5e6cf1d43c4152af16df1aa8106f3db456e96a authored almost 9 years ago by Erik M. Bray <[email protected]>
Run the patchbot base check at construction time

929e4fafa90863b7783bcfe6ff71a82217127e52 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Fixed option passing syntax for count=1

1327e046c9c8f3de7a631df1051fe1de50786799 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Update README.md

adf6540759461e6c18bf138c9e4d1afc77d6192f authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Update README.md

141f2433adf1d47cd96c8f41f34156dd5cec9707 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Update README.md

be5380ec36eb17cdd7ff13b7f03bea278b69e10b authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Update README.md

Added special note on port forwarding for Windows.

538e663c3f089fead1f5f710e3f0ac951b1c7acd authored almost 9 years ago by Erik Bray <[email protected]>
ssl-dev does not appear to be the name of any package--maybe this was intended to be libssl-dev?

109027ea50dbd37c96281c6cda98243099514c49 authored almost 9 years ago by Erik M. Bray <[email protected]>
Ignore docker build logs

24892826fee41f915f57aaa86c4ce9ea4f3c97d3 authored almost 9 years ago by Erik M. Bray <[email protected]>
* For sagemath-juptyer ensure that the --ip option is passed to jupyter

notebook; otherwise it will refuse connections not coming from localhost

* For the base sagema...

96e68ba24be430327e9376f78be5ddb9bea04d96 authored almost 9 years ago by Erik M. Bray <[email protected]>
With the sage notebook, one currently need to specify a login/password

6d8075596a19e95fcdb03defa65b477b319f7b86 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Merge branch 'master' of github.com:sagemath/docker-images

31362a5fc501d61817808abb114d6d76a3defe8f authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Fixed patchbot CMD (missing commas)

702d90db5100c2532b033901ac5d44fc7d4b5bbc authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Fixed push rule

527e0842c1020f4ec06dfda0f2e95b8d7d3addd3 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Makefile: always force rebuilding of the containers

d3648926c63d0c632fda180f082f7ab8c048a456 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Fixed CMD in sagemath-jupyter/Dockerfile

97f31ee75b2902df7c20acbadcf4ff4fb5226896 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Use ssl-dev rather than openssl to enable the IPython notebook: http://ask.sagemath.org/question/30089/problems-to-start-sage-notebookipython/

b30538f5a311725a203c47dbc98c310cb53bd59e authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Cleanup & fix

- Make the generic build rule apply to sagemath and not only sagemath-*
- Reorganized the makefi...

c12029043a6b200a7606efe30f55bf4127e0b94c authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>
Typo

7ad347e8f6279a600207d4a544fe9d116d5ac6a0 authored almost 9 years ago by Nicolas M. Thiéry <[email protected]>