Erik Sundell
15a1fb6e2d
refactor: manually add transitions to f-strings
2022-10-31 21:22:32 +01:00
pre-commit-ci[bot]
5a93542321
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Timo Rothenpieler
fa512e76bd
Set labels in Dockerfile BuildPack
2021-11-24 13:22:33 +01:00
Simon Li
c521c3c950
Remove constant docker args
2021-07-02 12:42:12 +01:00
Nicholas Bollweg
778c914c8c
use jinja var for COPY chown
2020-10-15 08:58:12 -04:00
Tim Head
8b004e06dc
Apply auto formatting
...
Apologies to anyone finding this commit via git blame or log
run the autoformatting by
pre-commit run --all-files
2019-06-03 21:37:25 +02:00
yuvipanda
74fc378230
Clarify comment around memswap & memory
2019-05-08 09:44:58 -07:00
Tim Head
2eb4781c2e
Swap limit doesn't have to be bigger than memory limit
2019-05-08 18:22:11 +02:00
Tim Head
032baf6d04
Add check to `build()` for memory limit type
2019-05-08 14:23:43 +02:00
Tim Head
ef2860371a
Fix memory limits set for container image builds
2019-05-08 08:11:38 +02:00
Gladys Nalvarte
7609e7f0aa
Update build method in docker and legacy files
2019-02-19 10:45:48 +01:00
yuvipanda
3b0b77259f
Inject docker.APIClient into methods that need them
...
- Creating a new client with 'auto' version causes repeated
unnecessary network requests to discover version of docker daemon.
- Testing is easier this way, since we can inject a mocked docker
client more easily
2018-12-10 11:18:01 -08:00
yuvipanda
1dacdd4c46
Allow specifying images to reuse cache from
...
This lets us explicitly specify images that repo2docker
should try to re-use cached layers from. Docker normally only
looks for layers from images that were *built* locally - if
we want it to look in images that were *pulled* from a registry,
we need to specify it here.
2018-12-05 11:10:50 -08:00
Carol Willing
e9539c0d47
add docstrings to docker buildpack
2018-03-19 16:41:48 -07:00
Min RK
b98be640a2
omit appendix on custom Dockerfiles
...
using a custom Dockerfile means opting out of *all* repo2docker logic
2018-03-07 11:27:54 +01:00
Min RK
c857f438b3
add appendix
...
supports adding arbitrary build steps to the end of Dockerfile
2018-02-14 11:34:10 +01:00
yuvipanda
4d19924180
Use inheritance to define composed buildpacks
...
- This is much cleaner to understand than traitlets
- Remove 'name' and 'component' traitlets
2018-02-01 04:23:34 -08:00
yuvipanda
8f36572770
Allow passing in uid and username of user built into image
...
This allows volumes to properly respect the uid of the user
from the host. Much easier than using user namespaces
2017-12-19 12:46:22 -08:00
yuvipanda
c3ec9c9fa8
s/memoryswap/memswap/
...
Since clearly the equivalent of 'memory' is 'memswap' grumble
2017-11-30 17:17:03 -08:00
yuvipanda
86c24c1a18
Set limits for how much memory docker build can use
...
This prevents builds from gobbling all the RAM on a node!
2017-11-30 17:14:42 -08:00
yuvipanda
a52d49636c
Remove unused imports in buildpack files
2017-11-30 01:29:40 -08:00
yuvipanda
1ddaf0bcb1
Split detectors.py into individual files
...
These were buildpacks now anyway, not detectors.
2017-11-30 01:29:40 -08:00