RED-6725: Install fonts
This commit is contained in:
parent
a3d4fbe3a3
commit
f8a3cbc147
@ -70,6 +70,12 @@ sonarqube {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.named<BootBuildImage>("bootBuildImage") {
|
tasks.named<BootBuildImage>("bootBuildImage") {
|
||||||
|
|
||||||
|
println("--------------------" + layout.projectDirectory.file( "src/main/resources/Aptfile").toString());
|
||||||
|
var aptfilePath = layout.projectDirectory.file( "src/main/resources/Aptfile").toString() // make sure this path is valid because there will be no log or exception if not
|
||||||
|
bindings.add("${aptfilePath}:/workspace/Aptfile:ro")
|
||||||
|
buildpacks.set(listOf("ghcr.io/fagiani/buildpacks/fagiani_apt@sha256:6471c8c70f32b749e29f65ae562ac0339fecad26aa9217628c00a6c31f197dae", "urn:cnb:builder:paketo-buildpacks/java"))
|
||||||
|
|
||||||
imageName.set("nexus.knecon.com:5001/ff/${project.name}:${project.version}")
|
imageName.set("nexus.knecon.com:5001/ff/${project.name}:${project.version}")
|
||||||
if (project.hasProperty("buildbootDockerHostNetwork")) {
|
if (project.hasProperty("buildbootDockerHostNetwork")) {
|
||||||
network.set("host")
|
network.set("host")
|
||||||
|
|||||||
@ -0,0 +1,11 @@
|
|||||||
|
# you can list packages
|
||||||
|
ghostscript
|
||||||
|
cabextract
|
||||||
|
xfonts-utils
|
||||||
|
fonts-liberation
|
||||||
|
|
||||||
|
# or include links to specific .deb files
|
||||||
|
http://ftp.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8_all.deb
|
||||||
|
|
||||||
|
# or add custom apt repos (only required if using packages outside of the standard Ubuntu APT repositories)
|
||||||
|
# :repo:deb http://cz.archive.ubuntu.com/ubuntu artful main universe
|
||||||
Loading…
x
Reference in New Issue
Block a user