Files
archived-frankenphp/docker-bake.hcl
Marko Korhonen 4293397541 feat: add Alpine based Docker image (#43)
* Gitignore .idea folder (PhpStorm etc)

* Alpine version of Dockerfile

* Bake definition to build Docker images

* Docs for Docker image building

* Link to docker.md

* Use latest change on using official php-src repo and PHP-8.2 branch

* Remove ARGS and get other changes from Dockerfile (original)

* Update GHA workflows with Dockerfile.alpine
2022-10-21 15:23:23 +02:00

30 lines
498 B
HCL

variable "REPO_NAME" {
default = "dunglas/frankenphp"
}
group "default" {
targets = ["bullseye", "alpine"]
}
target "common" {
platforms = ["linux/amd64", "linux/arm64"]
}
#
# FrankenPHP
#
target "bullseye" {
inherits = ["common"]
context = "."
dockerfile = "Dockerfile"
tags = ["${REPO_NAME}:bullseye", "${REPO_NAME}:latest"]
}
target "alpine" {
inherits = ["common"]
context = "."
dockerfile = "Dockerfile.alpine"
tags = ["${REPO_NAME}:alpine"]
}