Skip to content

Commit

Permalink
Merge pull request #136 from crazy-max/ubuntu-2210-eol
Browse files Browse the repository at this point in the history
common: ubuntu 22.10 eol
  • Loading branch information
crazy-max authored Aug 5, 2023
2 parents 9a0b91b + 5ab0338 commit 2396a0b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 24 deletions.
11 changes: 0 additions & 11 deletions common/packages.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,6 @@ target "_pkg-ubuntu2204" {
}
}

target "_pkg-ubuntu2210" {
args = {
PKG_RELEASE = "ubuntu2210"
PKG_TYPE = "deb"
PKG_DISTRO = "ubuntu"
PKG_DISTRO_ID = "22.10"
PKG_DISTRO_SUITE = "kinetic"
PKG_BASE_IMAGE = "ubuntu:kinetic"
}
}

target "_pkg-ubuntu2304" {
args = {
PKG_RELEASE = "ubuntu2304"
Expand Down
12 changes: 1 addition & 11 deletions common/packages.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# don't forget to add/update pkg-info-* rule and update packages.hcl as well
# if you add a new release
PKG_APK_RELEASES ?= alpine314 alpine315 alpine316
PKG_DEB_RELEASES ?= debian10 debian11 debian12 ubuntu2004 ubuntu2204 ubuntu2210 ubuntu2304 raspbian10 raspbian11 raspbian12
PKG_DEB_RELEASES ?= debian10 debian11 debian12 ubuntu2004 ubuntu2204 ubuntu2304 raspbian10 raspbian11 raspbian12
PKG_RPM_RELEASES ?= centos7 centos8 centos9 fedora36 fedora37 fedora38 oraclelinux7 oraclelinux8 oraclelinux9

# PKG_SUPPORTED_PLATFORMS could be replaced by:
Expand Down Expand Up @@ -138,16 +138,6 @@ pkg-info-ubuntu2204:
@# FIXME: linux/riscv64 is not supported (golang base image does not support riscv64)
$(eval PKG_SUPPORTED_PLATFORMS = linux/amd64 linux/arm64 linux/arm/v7 linux/ppc64le linux/s390x)

.PHONY: pkg-info-ubuntu2210
pkg-info-ubuntu2210:
$(eval PKG_TYPE = deb)
$(eval PKG_DISTRO = ubuntu)
$(eval PKG_DISTRO_ID = 22.10)
$(eval PKG_DISTRO_SUITE = kinetic)
$(eval PKG_BASE_IMAGE = ubuntu:kinetic)
@# FIXME: linux/riscv64 is not supported (golang base image does not support riscv64)
$(eval PKG_SUPPORTED_PLATFORMS = linux/amd64 linux/arm64 linux/arm/v7 linux/ppc64le linux/s390x)

.PHONY: pkg-info-ubuntu2304
pkg-info-ubuntu2304:
$(eval PKG_TYPE = deb)
Expand Down
2 changes: 1 addition & 1 deletion pkg/docker-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends apt-utils bash
RUN <<EOT
set -e
case "$PKG_RELEASE" in
ubuntu2004|ubuntu2204|ubuntu2210|ubuntu2304)
ubuntu2004|ubuntu2204|ubuntu2304)
if [ "$(dpkg-divert --truename /usr/bin/man)" = "/usr/bin/man.REAL" ]; then
rm -f /usr/bin/man
dpkg-divert --quiet --remove --rename /usr/bin/man
Expand Down
2 changes: 1 addition & 1 deletion pkg/docker-engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends apt-utils bash
RUN <<EOT
set -e
case "$PKG_RELEASE" in
ubuntu2004|ubuntu2204|ubuntu2210|ubuntu2304)
ubuntu2004|ubuntu2204|ubuntu2304)
if [ "$(dpkg-divert --truename /usr/bin/man)" = "/usr/bin/man.REAL" ]; then
rm -f /usr/bin/man
dpkg-divert --quiet --remove --rename /usr/bin/man
Expand Down

0 comments on commit 2396a0b

Please sign in to comment.