2022-09-01 14:48:10 +03:00
|
|
|
// Copyright 2022 Docker Packaging authors
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
variable "PKG_RELEASE" {
|
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
variable "PKG_TYPE" {
|
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
variable "PKG_DISTRO" {
|
|
|
|
default = ""
|
|
|
|
}
|
2023-04-09 13:19:00 +03:00
|
|
|
variable "PKG_DISTRO_ID" {
|
2023-04-09 08:49:25 +03:00
|
|
|
default = ""
|
|
|
|
}
|
2023-04-09 13:19:00 +03:00
|
|
|
variable "PKG_DISTRO_SUITE" {
|
2022-09-01 14:48:10 +03:00
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
variable "PKG_BASE_IMAGE" {
|
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-alpine314" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "alpine314"
|
|
|
|
PKG_TYPE = "apk"
|
|
|
|
PKG_DISTRO = "alpine"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "3.14"
|
|
|
|
PKG_DISTRO_SUITE = "3.14"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "alpine:3.14"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-alpine315" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "alpine315"
|
|
|
|
PKG_TYPE = "apk"
|
|
|
|
PKG_DISTRO = "alpine"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "3.15"
|
|
|
|
PKG_DISTRO_SUITE = "3.15"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "alpine:3.15"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-alpine316" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "alpine316"
|
|
|
|
PKG_TYPE = "apk"
|
|
|
|
PKG_DISTRO = "alpine"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "3.16"
|
|
|
|
PKG_DISTRO_SUITE = "3.16"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "alpine:3.16"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-debian10" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "debian10"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "debian"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "10"
|
|
|
|
PKG_DISTRO_SUITE = "buster"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "debian:buster"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-debian11" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "debian11"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "debian"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "11"
|
|
|
|
PKG_DISTRO_SUITE = "bullseye"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "debian:bullseye"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-13 00:15:44 +03:00
|
|
|
target "_pkg-debian12" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "debian12"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "debian"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "12"
|
|
|
|
PKG_DISTRO_SUITE = "bookworm"
|
2023-02-13 00:15:44 +03:00
|
|
|
PKG_BASE_IMAGE = "debian:bookworm"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-01 14:48:10 +03:00
|
|
|
target "_pkg-raspbian10" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "raspbian10"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "raspbian"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "10"
|
|
|
|
PKG_DISTRO_SUITE = "buster"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "balenalib/rpi-raspbian:buster"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-raspbian11" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "raspbian11"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "raspbian"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "11"
|
|
|
|
PKG_DISTRO_SUITE = "bullseye"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "balenalib/rpi-raspbian:bullseye"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-13 00:18:44 +03:00
|
|
|
target "_pkg-raspbian12" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "raspbian12"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "raspbian"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "12"
|
|
|
|
PKG_DISTRO_SUITE = "bookworm"
|
2023-02-13 00:18:44 +03:00
|
|
|
PKG_BASE_IMAGE = "balenalib/rpi-raspbian:bookworm"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-01 14:48:10 +03:00
|
|
|
target "_pkg-ubuntu2004" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "ubuntu2004"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "ubuntu"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "20.04"
|
|
|
|
PKG_DISTRO_SUITE = "focal"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "ubuntu:focal"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-ubuntu2204" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "ubuntu2204"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "ubuntu"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "22.04"
|
|
|
|
PKG_DISTRO_SUITE = "jammy"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "ubuntu:jammy"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-08 08:50:47 +03:00
|
|
|
target "_pkg-ubuntu2304" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "ubuntu2304"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "ubuntu"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "23.04"
|
|
|
|
PKG_DISTRO_SUITE = "lunar"
|
2023-04-08 08:50:47 +03:00
|
|
|
PKG_BASE_IMAGE = "ubuntu:lunar"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-21 20:28:30 +03:00
|
|
|
target "_pkg-ubuntu2310" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "ubuntu2310"
|
|
|
|
PKG_TYPE = "deb"
|
|
|
|
PKG_DISTRO = "ubuntu"
|
|
|
|
PKG_DISTRO_ID = "23.10"
|
|
|
|
PKG_DISTRO_SUITE = "mantic"
|
|
|
|
PKG_BASE_IMAGE = "ubuntu:mantic"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-01 14:48:10 +03:00
|
|
|
target "_pkg-centos7" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "centos7"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "centos"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "7"
|
|
|
|
PKG_DISTRO_SUITE = "7"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "centos:7"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-centos8" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "centos8"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "centos"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "8"
|
|
|
|
PKG_DISTRO_SUITE = "8"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "quay.io/centos/centos:stream8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-centos9" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "centos9"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "centos"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "9"
|
|
|
|
PKG_DISTRO_SUITE = "9"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "quay.io/centos/centos:stream9"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-fedora37" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "fedora37"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "fedora"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "37"
|
|
|
|
PKG_DISTRO_SUITE = "37"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "fedora:37"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-27 23:00:18 +03:00
|
|
|
target "_pkg-fedora38" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "fedora38"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "fedora"
|
|
|
|
PKG_DISTRO_ID = "38"
|
|
|
|
PKG_DISTRO_SUITE = "38"
|
|
|
|
PKG_BASE_IMAGE = "fedora:38"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-21 19:33:45 +03:00
|
|
|
target "_pkg-fedora39" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "fedora39"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "fedora"
|
|
|
|
PKG_DISTRO_ID = "39"
|
|
|
|
PKG_DISTRO_SUITE = "39"
|
|
|
|
PKG_BASE_IMAGE = "fedora:39"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-01 14:48:10 +03:00
|
|
|
target "_pkg-oraclelinux7" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "oraclelinux7"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "oraclelinux"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "7"
|
|
|
|
PKG_DISTRO_SUITE = "7"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "oraclelinux:7"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-oraclelinux8" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "oraclelinux8"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "oraclelinux"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "8"
|
|
|
|
PKG_DISTRO_SUITE = "8"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "oraclelinux:8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-oraclelinux9" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = "oraclelinux9"
|
|
|
|
PKG_TYPE = "rpm"
|
|
|
|
PKG_DISTRO = "oraclelinux"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = "9"
|
|
|
|
PKG_DISTRO_SUITE = "9"
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "oraclelinux:9"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "_pkg-static" {
|
|
|
|
args = {
|
|
|
|
PKG_RELEASE = ""
|
|
|
|
PKG_TYPE = "static"
|
|
|
|
PKG_DISTRO = "static"
|
2023-04-09 13:19:00 +03:00
|
|
|
PKG_DISTRO_ID = ""
|
|
|
|
PKG_DISTRO_SUITE = ""
|
2022-09-01 14:48:10 +03:00
|
|
|
PKG_BASE_IMAGE = "debian:bullseye"
|
|
|
|
}
|
|
|
|
}
|