Phillip Webb
46773dd5df
Update copyright year of changed files
2 years ago
Johnny Lim
59d4bf97a1
Add Javadoc since to ImageReference.inTaglessForm()
...
See gh-36048
3 years ago
Johnny Lim
4a2c9d99dc
Remove redundant Files.delete() calls in tests
...
See gh-35986
3 years ago
Phillip Webb
57e45dfb21
Update copyright year of changed files
3 years ago
Phillip Webb
ef4b09718c
Fix loading of PKCS#8 PEM encoded EC and DSA keys for buildpack
...
Polish and port support for PKCS#8 PEM encoded EC and DSA keys to
the buildpack code.
See gh-35322
3 years ago
Phillip Webb
e9c4a5d663
Polish
3 years ago
Moritz Halbritter
d00e070cdb
Separate tag in the Docker API tag call
...
Closes gh-35358
3 years ago
Moritz Halbritter
4eef8d5a53
Separate tag in the Docker API tag call
...
Closes gh-35358
3 years ago
Johnny Lim
00f388fa6f
Polish Javadoc since tags for gh-34324
...
See gh-34587
3 years ago
Scott Frederick
7730eee439
Use image manifest when exporting layers
...
A tar archive of a Docker image contains a `mainfest.json` file that
lists the path to each embedded tar file containing the contents of a
layer in the image. This manifest file should be used to identify the
layer files instead of relying on file naming conventions and
assumptions on the directory structure that are not consistent
between container engine implementations.
Fixes gh-34324
3 years ago
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
3 years ago
Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
3 years ago
Krzysztof Krason
d3efd7e091
Use try with close
...
See gh-33987
3 years ago
Krzysztof Krason
a9c547e767
Use text blocks
...
See gh-33987
3 years ago
Krzysztof Krason
6e46423983
Use diamond operators
...
See gh-33987
3 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
3 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
3 years ago
Phillip Webb
f588793445
Update copyright year of changed files
3 years ago
Moritz Halbritter
f36e2ecb7b
Use AutoClosables with try-with-resources
...
Closes gh-33538
3 years ago
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
3 years ago
Scott Frederick
bb684cc0ad
Add support for CNB platform API 0.10
...
Fixes gh-32949
3 years ago
Phillip Webb
e0c79ce598
Support PEM formatted elliptic-curve TLS keys
...
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.
Fixes gh-32646
3 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
3 years ago
dreis2211
65ef8fc51a
Use ByteArrayOutputStream.toString where possible
...
See gh-32534
3 years ago
Scott Frederick
257e236b06
Fix image-building unit tests on Windows
...
See gh-32000
3 years ago
Scott Frederick
c16094e04b
Disable SELinux label security policy when building images
...
When using the Gradle `bootBuildImage` task or Maven
`spring-boot:build-image` goal on a Linux distribution with SELinux
enabled, binding the Docker socket in the builder container might
fail. This commit disables the `label` security policy in the builder
container to prevent this type of failure.
Fixes gh-32000
3 years ago
Phillip Webb
22144987e9
Update copyright year of changed files
3 years ago
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
3 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
3 years ago
Phillip Webb
4bcec6e0ee
Polish
3 years ago
Scott Frederick
f9cf31e59e
Fix compile errors
...
See gh-28844
3 years ago
Scott Frederick
9b0cdac58a
Simplify support for pushing images to unauthenticated registries
...
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.
Fixes gh-28844
3 years ago
Scott Frederick
17bdc526f6
Avoid adding layers for buildpacks that exist in the builder
...
This commit adds validation of any buildpacks that are specified for
image building to match them against buildpacks that are bundled in
the builder. If an image buildpack's ID, version, and one layer
hash match the same information stored in a label on the builder
image, that buildpack won't be added and the buildpack bundled in
the builder will be used instead. This reduces the chance of adding to
the total count of layers in a builder image unnecessarily.
Fixes gh-31233
4 years ago
dreis2211
458f989cf3
Use switch expressions where appropriate
...
See gh-31527
4 years ago
Andy Wilkinson
f49b16c645
Upgrade to Spring Java Format 0.0.34
...
Closes gh-31524
4 years ago
dreis2211
cc91009b70
Use java.util.HexFormat where appropriate
...
See gh-31477
4 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
4 years ago
dreis2211
fb45fc4819
Use Files.writeString() and Files.readString() where possible
...
See gh-31459
4 years ago
Andy Wilkinson
3d203d0215
Polish
4 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
4 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
4 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
4 years ago
Phillip Webb
dd5696b59b
Update copyright year of changed files
4 years ago
Scott Frederick
f032690d0a
Add support for CNB platform API 0.9
...
Fixes gh-30566
4 years ago
Scott Frederick
de321b00b7
Support podman for building images
...
Closes gh-30196
4 years ago
Scott Frederick
7ad538cd84
Add option to use configured Docker host in builder
...
This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.
Fixes gh-29384
4 years ago
Phillip Webb
9ab1b669d0
Polish
4 years ago
Moritz Halbritter
262db65a38
Ignore invalid stream types when reading log update events
...
See gh-29675
4 years ago
Phillip Webb
2b40ce09d8
Update copyright year of changed files
4 years ago
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
4 years ago