CI | |
---|---|
Java Getting Started | |
Scala Getting Started | |
Clojure Getting Started | |
Gradle Getting Started | |
Kotlin Getting Started | |
JRuby (Windows) Getting Started |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (b *Builder) RegularBuild(group BuildpackGroup, workspaceDir, layersDir string) (*BuildMetadata, error) { | |
platformDir, err := filepath.Abs(b.PlatformDir) | |
if err != nil { | |
return nil, err | |
} | |
layersDir, err := filepath.Abs(layersDir) | |
if err != nil { | |
return nil, err | |
} | |
appDir, err := filepath.Abs(workspaceDir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api = "<buildpack API version>" | |
[buildpack] | |
id = "<buildpack ID>" | |
name = "<buildpack name>" | |
version = "<buildpack version>" | |
homepage = "<buildpack homepage>" | |
clear-env = false | |
privileged = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: tekton.dev/v1beta1 | |
kind: Task | |
metadata: | |
name: buildpacks-phases | |
labels: | |
app.kubernetes.io/version: "0.1" | |
annotations: | |
tekton.dev/pipelines.minVersion: "0.12.1" | |
tekton.dev/tags: image-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[build.buildpacks]] | |
id = "cnb/make" | |
version = "1.0" | |
[[build.buildpacks]] | |
uri = "https://github.com/heroku/nodejs-engine-buildpack/releases/download/v0.4.4/nodejs-engine-buildpack-v0.4.4.tgz" | |
[[build.buildpacks]] | |
uri = "docker://gcr.io/projectriff/node-function:0.6.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[project] | |
id = "io.buildpacks.my-app" | |
version = "0.1" | |
[build] | |
include = [ | |
"cmd/", | |
"go.mod", | |
"go.sum", | |
"*.go" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[project] | |
id = "my-app" | |
[[build.buildpacks]] | |
id = "example/jvm" | |
version = "1.0" | |
[[build.buildpacks]] | |
id = "example/ruby" | |
version = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt update | |
apt install imagemagick | |
cat << EOF > ${1}/privileged.toml | |
[[layers]] | |
paths = [ "/usr" ] | |
launch = true | |
build = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run --rm --privileged -it heroku/heroku:18-build bash | |
root@f1442b4c03bb:/# mkdir -p /tmp/overlay && mount -t tmpfs tmpfs /tmp/overlay && mkdir -p /tmp/overlay/{usr,work} | |
root@f1442b4c03bb:/# mount -t overlay -o lowerdir=/usr,upperdir=/tmp/overlay/usr/,workdir=/tmp/overlay/work/ overlay /usr/ | |
root@f1442b4c03bb:/# apt update | |
... | |
root@f1442b4c03bb:/# apt install tree | |
Reading package lists... Done |
I've been an amateur astronomer for more years than I can count, and I've helped many people choose their first telescope.
However, I usually recommend that most people start with a very good pair of binoculars instead of a telescope. High-end binoculars are wonderful instruments that will remain useful even if you decided to upgrade to a telescope. I still use mine regularly despite owning multiple high-quality telescopes. They're just fun and easy.
- $100-$150