Skip to content

Commit 0e69960

Browse files
authored
Merge pull request #26 from egeucak/fix/update-api-version
Update api version
2 parents 413fc95 + daa9c52 commit 0e69960

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

bin/build

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,12 @@ else
155155
echo -n ":" > $apt_env_dir/PKG_CONFIG_PATH.delim
156156
fi
157157

158-
echo "launch = true" > ${apt_layer}.toml
159-
echo "build = true" >> ${apt_layer}.toml
160-
echo "cache = true" >> ${apt_layer}.toml
158+
cat >> ${apt_layer}.toml <<EOL
159+
[types]
160+
launch = true
161+
build = true
162+
cache = true
163+
EOL
161164

162165
end_time=$(date +%s%N)
163166
echo "Elapsed time: $(( $(( $end_time - $start_time )) / 1000000 ))ms" | indent

buildpack.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
api = "0.4"
1+
api = "0.10"
22

33
[buildpack]
44
id = "fagiani/apt"
5-
version = "0.2.5"
5+
version = "0.2.6"
66
name = "apt Packages Buildpack"
77
homepage = "https://github.com/fagiani/apt-buildpack"
88
description = "Installs apt packages for further builds and runtime"
@@ -22,3 +22,6 @@ id = "io.buildpacks.stacks.bionic"
2222

2323
[[stacks]]
2424
id = "io.buildpacks.stacks.jammy"
25+
26+
[[stacks]]
27+
id = "*"

0 commit comments

Comments
 (0)