pulumi-docker-build 0.1.0a1736895711__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-docker-build might be problematic. Click here for more details.
- pulumi_docker_build-0.1.0a1736895711/PKG-INFO +38 -0
- pulumi_docker_build-0.1.0a1736895711/README.md +23 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/__init__.py +46 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/_enums.py +84 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/_inputs.py +3485 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/_utilities.py +327 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/config/__init__.py +8 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/config/__init__.pyi +24 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/config/vars.py +34 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/image.py +1804 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/index.py +381 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/outputs.py +2404 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/provider.py +123 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/pulumi-plugin.json +5 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build/py.typed +0 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build.egg-info/PKG-INFO +38 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build.egg-info/SOURCES.txt +20 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build.egg-info/dependency_links.txt +1 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build.egg-info/requires.txt +6 -0
- pulumi_docker_build-0.1.0a1736895711/pulumi_docker_build.egg-info/top_level.txt +1 -0
- pulumi_docker_build-0.1.0a1736895711/pyproject.toml +22 -0
- pulumi_docker_build-0.1.0a1736895711/setup.cfg +4 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: pulumi_docker_build
|
|
3
|
+
Version: 0.1.0a1736895711
|
|
4
|
+
Summary: A Pulumi provider for building modern Docker images with buildx and BuildKit.
|
|
5
|
+
License: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://pulumi.com
|
|
7
|
+
Project-URL: Repository, https://github.com/pulumi/pulumi-docker-build
|
|
8
|
+
Keywords: docker,buildkit,buildx,kind/native
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: parver>=0.2.1
|
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.142.0
|
|
13
|
+
Requires-Dist: semver>=2.8.1
|
|
14
|
+
Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
|
|
15
|
+
|
|
16
|
+
[](https://slack.pulumi.com)
|
|
17
|
+
[](https://www.npmjs.com/package/@pulumi/docker-build)
|
|
18
|
+
[](https://pypi.org/project/pulumi-docker-build)
|
|
19
|
+
[](https://badge.fury.io/nu/pulumi.dockerbuild)
|
|
20
|
+
[](https://pkg.go.dev/github.com/pulumi/pulumi-docker-build/sdk/go)
|
|
21
|
+
[](https://github.com/pulumi/pulumi-docker-build/blob/main/LICENSE)
|
|
22
|
+
|
|
23
|
+
# Docker-Build Resource Provider
|
|
24
|
+
|
|
25
|
+
A [Pulumi](http://pulumi.com) provider for building modern Docker images with [buildx](https://docs.docker.com/build/architecture/) and [BuildKit](https://docs.docker.com/build/buildkit/).
|
|
26
|
+
|
|
27
|
+
Not to be confused with the earlier
|
|
28
|
+
[Docker](http://github.com/pulumi/pulumi-docker) provider, which is still
|
|
29
|
+
appropriate for managing resources unrelated to building images.
|
|
30
|
+
|
|
31
|
+
| Provider | Use cases |
|
|
32
|
+
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
33
|
+
| `@pulumi/docker-build` | Anything related to building images with `docker build`. |
|
|
34
|
+
| `@pulumi/docker` | Everything else -- including running containers and creating networks. |
|
|
35
|
+
|
|
36
|
+
## Reference
|
|
37
|
+
|
|
38
|
+
For more information, including examples and migration guidance, please see the Docker-Build provider's detailed [API documentation](https://www.pulumi.com/registry/packages/docker-build/).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[](https://slack.pulumi.com)
|
|
2
|
+
[](https://www.npmjs.com/package/@pulumi/docker-build)
|
|
3
|
+
[](https://pypi.org/project/pulumi-docker-build)
|
|
4
|
+
[](https://badge.fury.io/nu/pulumi.dockerbuild)
|
|
5
|
+
[](https://pkg.go.dev/github.com/pulumi/pulumi-docker-build/sdk/go)
|
|
6
|
+
[](https://github.com/pulumi/pulumi-docker-build/blob/main/LICENSE)
|
|
7
|
+
|
|
8
|
+
# Docker-Build Resource Provider
|
|
9
|
+
|
|
10
|
+
A [Pulumi](http://pulumi.com) provider for building modern Docker images with [buildx](https://docs.docker.com/build/architecture/) and [BuildKit](https://docs.docker.com/build/buildkit/).
|
|
11
|
+
|
|
12
|
+
Not to be confused with the earlier
|
|
13
|
+
[Docker](http://github.com/pulumi/pulumi-docker) provider, which is still
|
|
14
|
+
appropriate for managing resources unrelated to building images.
|
|
15
|
+
|
|
16
|
+
| Provider | Use cases |
|
|
17
|
+
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
18
|
+
| `@pulumi/docker-build` | Anything related to building images with `docker build`. |
|
|
19
|
+
| `@pulumi/docker` | Everything else -- including running containers and creating networks. |
|
|
20
|
+
|
|
21
|
+
## Reference
|
|
22
|
+
|
|
23
|
+
For more information, including examples and migration guidance, please see the Docker-Build provider's detailed [API documentation](https://www.pulumi.com/registry/packages/docker-build/).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
from . import _utilities
|
|
6
|
+
import typing
|
|
7
|
+
# Export this package's modules as members:
|
|
8
|
+
from ._enums import *
|
|
9
|
+
from .image import *
|
|
10
|
+
from .index import *
|
|
11
|
+
from .provider import *
|
|
12
|
+
from ._inputs import *
|
|
13
|
+
from . import outputs
|
|
14
|
+
|
|
15
|
+
# Make subpackages available:
|
|
16
|
+
if typing.TYPE_CHECKING:
|
|
17
|
+
import pulumi_docker_build.config as __config
|
|
18
|
+
config = __config
|
|
19
|
+
else:
|
|
20
|
+
config = _utilities.lazy_import('pulumi_docker_build.config')
|
|
21
|
+
|
|
22
|
+
_utilities.register(
|
|
23
|
+
resource_modules="""
|
|
24
|
+
[
|
|
25
|
+
{
|
|
26
|
+
"pkg": "docker-build",
|
|
27
|
+
"mod": "index",
|
|
28
|
+
"fqn": "pulumi_docker_build",
|
|
29
|
+
"classes": {
|
|
30
|
+
"docker-build:index:Image": "Image",
|
|
31
|
+
"docker-build:index:Index": "Index"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
""",
|
|
36
|
+
resource_packages="""
|
|
37
|
+
[
|
|
38
|
+
{
|
|
39
|
+
"pkg": "docker-build",
|
|
40
|
+
"token": "pulumi:providers:docker-build",
|
|
41
|
+
"fqn": "pulumi_docker_build",
|
|
42
|
+
"class": "Provider"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
"""
|
|
46
|
+
)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
from enum import Enum
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
'CacheMode',
|
|
9
|
+
'CompressionType',
|
|
10
|
+
'NetworkMode',
|
|
11
|
+
'Platform',
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CacheMode(str, Enum):
|
|
16
|
+
MIN = "min"
|
|
17
|
+
"""
|
|
18
|
+
Only layers that are exported into the resulting image are cached.
|
|
19
|
+
"""
|
|
20
|
+
MAX = "max"
|
|
21
|
+
"""
|
|
22
|
+
All layers are cached, even those of intermediate steps.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class CompressionType(str, Enum):
|
|
27
|
+
GZIP = "gzip"
|
|
28
|
+
"""
|
|
29
|
+
Use `gzip` for compression.
|
|
30
|
+
"""
|
|
31
|
+
ESTARGZ = "estargz"
|
|
32
|
+
"""
|
|
33
|
+
Use `estargz` for compression.
|
|
34
|
+
"""
|
|
35
|
+
ZSTD = "zstd"
|
|
36
|
+
"""
|
|
37
|
+
Use `zstd` for compression.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class NetworkMode(str, Enum):
|
|
42
|
+
DEFAULT = "default"
|
|
43
|
+
"""
|
|
44
|
+
The default sandbox network mode.
|
|
45
|
+
"""
|
|
46
|
+
HOST = "host"
|
|
47
|
+
"""
|
|
48
|
+
Host network mode.
|
|
49
|
+
"""
|
|
50
|
+
NONE = "none"
|
|
51
|
+
"""
|
|
52
|
+
Disable network access.
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class Platform(str, Enum):
|
|
57
|
+
DARWIN_386 = "darwin/386"
|
|
58
|
+
DARWIN_AMD64 = "darwin/amd64"
|
|
59
|
+
DARWIN_ARM = "darwin/arm"
|
|
60
|
+
DARWIN_ARM64 = "darwin/arm64"
|
|
61
|
+
DRAGONFLY_AMD64 = "dragonfly/amd64"
|
|
62
|
+
FREEBSD_386 = "freebsd/386"
|
|
63
|
+
FREEBSD_AMD64 = "freebsd/amd64"
|
|
64
|
+
FREEBSD_ARM = "freebsd/arm"
|
|
65
|
+
LINUX_386 = "linux/386"
|
|
66
|
+
LINUX_AMD64 = "linux/amd64"
|
|
67
|
+
LINUX_ARM = "linux/arm"
|
|
68
|
+
LINUX_ARM64 = "linux/arm64"
|
|
69
|
+
LINUX_MIPS64 = "linux/mips64"
|
|
70
|
+
LINUX_MIPS64LE = "linux/mips64le"
|
|
71
|
+
LINUX_PPC64LE = "linux/ppc64le"
|
|
72
|
+
LINUX_RISCV64 = "linux/riscv64"
|
|
73
|
+
LINUX_S390X = "linux/s390x"
|
|
74
|
+
NETBSD_386 = "netbsd/386"
|
|
75
|
+
NETBSD_AMD64 = "netbsd/amd64"
|
|
76
|
+
NETBSD_ARM = "netbsd/arm"
|
|
77
|
+
OPENBSD_386 = "openbsd/386"
|
|
78
|
+
OPENBSD_AMD64 = "openbsd/amd64"
|
|
79
|
+
OPENBSD_ARM = "openbsd/arm"
|
|
80
|
+
PLAN9_386 = "plan9/386"
|
|
81
|
+
PLAN9_AMD64 = "plan9/amd64"
|
|
82
|
+
SOLARIS_AMD64 = "solaris/amd64"
|
|
83
|
+
WINDOWS_386 = "windows/386"
|
|
84
|
+
WINDOWS_AMD64 = "windows/amd64"
|