The original behavior was to create an src directory with the content of the
repository. The creation would happen in any case (remote or local repository).
With the filtering in place and the default to remove the .git folder, it breaks
the build as the src folder can be missing.
This patch ensures that the directory is present in the tar so the build can
continue as it did until now.
Currently repo2docker creates a context object that includes the whole content
of the repository it builds an image for. Thus it includes folders like .git
which is usually something that has no interest in the final image, can take
quite a lot of space and most importantly, kills the caching of that layer.
This patch adds support for reading dockerignore and containerignore files that
are used to ensure only the relevant data are used to build the image.
By default it also excludes the .git folder if neither of these files are
provided.
error libmamba Could not solve for environment specs
The following packages are incompatible
├─ conda 23.9.0** is requested and can be installed;
└─ mamba 1.5.1** is not installable because it requires
└─ conda >=4.14,<23.9.0a0 , which conflicts with any installable versions previously reported.
If memory serves me right, the specific version semantics
were here because at some point we were installing different
versions of rsession-proxy for different versions of R. We
don't do that anymore, so we should just unpin it and let the
pip solver install the appropriate version.
Hopefully fixes https://discourse.jupyter.org/t/r-conda-example-repo-isnt-working-any-more/21739/3
- remove cutoff for picking RSPM, always use it
- remove now-redundant r4.0-mran test
- shift base R 3.6 snapshot date to after October 2017, when rspm snapshots seem to have started
- update docs to point to RSPM
- removes lockfile copies without version
- enforces that `buildpack.python_version` is always specified (major_pythons['3'] in cases where it could have been falsy before)
- warns when Python version is unspecified, which ensures future reproducibility failures