Skip to content

Commit

Permalink
Change mingw-w64 build image base OS
Browse files Browse the repository at this point in the history
Change from bookworm (Debian 12, glibc 2.36) to bullseye
(Debian 11, glibc 2.31) to better support running Fyne apps
on older (but still supported) Linux distros.

Update pinned OS package versions to reflect Debian 11 OS.
  • Loading branch information
atc0005 committed Mar 23, 2024
1 parent e08434e commit eb2713e
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 54 deletions.
18 changes: 9 additions & 9 deletions oldstable/build/cgo-mingw-w64-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM amd64/golang:1.21.8-bookworm
FROM amd64/golang:1.21.8-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand All @@ -27,16 +27,16 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
# https://github.com/atc0005/go-ci/issues/1188
ENV GOTOOLCHAIN="local"

ENV APT_BSDMAINUTILS_VERSION="12.1.8"
ENV APT_TREE_VERSION="2.1.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:12.2.0-3"
ENV APT_GCC_MINGW_W64_VERSION="12.2.0-14+25.2"
ENV XZ_UTILS_VERSION="5.4.1-0.2"
ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
ENV APT_TREE_VERSION="1.8.0-1+b1"
ENV APT_GCC_MULTILIB_VERSION="4:10.2.1-1"
ENV APT_GCC_MINGW_W64_VERSION="10.2.1-6+24.2"
ENV XZ_UTILS_VERSION="5.2.5-2.1~deb11u1"

# https://docs.fyne.io/started/
ENV APT_GCC_VERSION="4:12.2.0-3"
ENV APT_LIBGL1_MESA_DEV_VERSION="22.3.6-1+deb12u1"
ENV APT_XORG_DEV_VERSION="1:7.7+23"
ENV APT_GCC_VERSION="4:10.2.1-1"
ENV APT_LIBGL1_MESA_DEV_VERSION="20.3.5-1"
ENV APT_XORG_DEV_VERSION="1:7.7+22"

# https://github.com/tc-hib/go-winres/releases
ENV GO_WINRES_VERSION="v0.3.1"
Expand Down
18 changes: 9 additions & 9 deletions oldstable/build/cgo-mingw-w64-x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/r/i386/golang

FROM i386/golang:1.21.8-bookworm
FROM i386/golang:1.21.8-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand All @@ -27,16 +27,16 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
# https://github.com/atc0005/go-ci/issues/1188
ENV GOTOOLCHAIN="local"

ENV APT_BSDMAINUTILS_VERSION="12.1.8"
ENV APT_TREE_VERSION="2.1.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:12.2.0-3"
ENV APT_GCC_MINGW_W64_VERSION="12.2.0-14+25.2"
ENV XZ_UTILS_VERSION="5.4.1-0.2"
ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
ENV APT_TREE_VERSION="1.8.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:10.2.1-1"
ENV APT_GCC_MINGW_W64_VERSION="10.2.1-6+24.2"
ENV XZ_UTILS_VERSION="5.2.5-2.1~deb11u1"

# https://docs.fyne.io/started/
ENV APT_GCC_VERSION="4:12.2.0-3"
ENV APT_LIBGL1_MESA_DEV_VERSION="22.3.6-1+deb12u1"
ENV APT_XORG_DEV_VERSION="1:7.7+23"
ENV APT_GCC_VERSION="4:10.2.1-1"
ENV APT_LIBGL1_MESA_DEV_VERSION="20.3.5-1"
ENV APT_XORG_DEV_VERSION="1:7.7+22"

# https://github.com/tc-hib/go-winres/releases
ENV GO_WINRES_VERSION="v0.3.1"
Expand Down
18 changes: 9 additions & 9 deletions stable/build/cgo-mingw-w64-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM amd64/golang:1.22.1-bookworm
FROM amd64/golang:1.22.1-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand All @@ -27,16 +27,16 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
# https://github.com/atc0005/go-ci/issues/1188
ENV GOTOOLCHAIN="local"

ENV APT_BSDMAINUTILS_VERSION="12.1.8"
ENV APT_TREE_VERSION="2.1.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:12.2.0-3"
ENV APT_GCC_MINGW_W64_VERSION="12.2.0-14+25.2"
ENV XZ_UTILS_VERSION="5.4.1-0.2"
ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
ENV APT_TREE_VERSION="1.8.0-1+b1"
ENV APT_GCC_MULTILIB_VERSION="4:10.2.1-1"
ENV APT_GCC_MINGW_W64_VERSION="10.2.1-6+24.2"
ENV XZ_UTILS_VERSION="5.2.5-2.1~deb11u1"

# https://docs.fyne.io/started/
ENV APT_GCC_VERSION="4:12.2.0-3"
ENV APT_LIBGL1_MESA_DEV_VERSION="22.3.6-1+deb12u1"
ENV APT_XORG_DEV_VERSION="1:7.7+23"
ENV APT_GCC_VERSION="4:10.2.1-1"
ENV APT_LIBGL1_MESA_DEV_VERSION="20.3.5-1"
ENV APT_XORG_DEV_VERSION="1:7.7+22"

# https://github.com/tc-hib/go-winres/releases
ENV GO_WINRES_VERSION="v0.3.1"
Expand Down
18 changes: 9 additions & 9 deletions stable/build/cgo-mingw-w64-x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/r/i386/golang

FROM i386/golang:1.22.1-bookworm
FROM i386/golang:1.22.1-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand All @@ -27,16 +27,16 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
# https://github.com/atc0005/go-ci/issues/1188
ENV GOTOOLCHAIN="local"

ENV APT_BSDMAINUTILS_VERSION="12.1.8"
ENV APT_TREE_VERSION="2.1.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:12.2.0-3"
ENV APT_GCC_MINGW_W64_VERSION="12.2.0-14+25.2"
ENV XZ_UTILS_VERSION="5.4.1-0.2"
ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
ENV APT_TREE_VERSION="1.8.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:10.2.1-1"
ENV APT_GCC_MINGW_W64_VERSION="10.2.1-6+24.2"
ENV XZ_UTILS_VERSION="5.2.5-2.1~deb11u1"

# https://docs.fyne.io/started/
ENV APT_GCC_VERSION="4:12.2.0-3"
ENV APT_LIBGL1_MESA_DEV_VERSION="22.3.6-1+deb12u1"
ENV APT_XORG_DEV_VERSION="1:7.7+23"
ENV APT_GCC_VERSION="4:10.2.1-1"
ENV APT_LIBGL1_MESA_DEV_VERSION="20.3.5-1"
ENV APT_XORG_DEV_VERSION="1:7.7+22"

# https://github.com/tc-hib/go-winres/releases
ENV GO_WINRES_VERSION="v0.3.1"
Expand Down
18 changes: 9 additions & 9 deletions unstable/build/cgo-mingw-w64-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM amd64/golang:1.22.1-bookworm
FROM amd64/golang:1.22.1-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand All @@ -27,16 +27,16 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
# https://github.com/atc0005/go-ci/issues/1188
ENV GOTOOLCHAIN="local"

ENV APT_BSDMAINUTILS_VERSION="12.1.8"
ENV APT_TREE_VERSION="2.1.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:12.2.0-3"
ENV APT_GCC_MINGW_W64_VERSION="12.2.0-14+25.2"
ENV XZ_UTILS_VERSION="5.4.1-0.2"
ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
ENV APT_TREE_VERSION="1.8.0-1+b1"
ENV APT_GCC_MULTILIB_VERSION="4:10.2.1-1"
ENV APT_GCC_MINGW_W64_VERSION="10.2.1-6+24.2"
ENV XZ_UTILS_VERSION="5.2.5-2.1~deb11u1"

# https://docs.fyne.io/started/
ENV APT_GCC_VERSION="4:12.2.0-3"
ENV APT_LIBGL1_MESA_DEV_VERSION="22.3.6-1+deb12u1"
ENV APT_XORG_DEV_VERSION="1:7.7+23"
ENV APT_GCC_VERSION="4:10.2.1-1"
ENV APT_LIBGL1_MESA_DEV_VERSION="20.3.5-1"
ENV APT_XORG_DEV_VERSION="1:7.7+22"

# https://github.com/tc-hib/go-winres/releases
ENV GO_WINRES_VERSION="v0.3.1"
Expand Down
18 changes: 9 additions & 9 deletions unstable/build/cgo-mingw-w64-x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/r/i386/golang

FROM i386/golang:1.22.1-bookworm
FROM i386/golang:1.22.1-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand All @@ -27,16 +27,16 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
# https://github.com/atc0005/go-ci/issues/1188
ENV GOTOOLCHAIN="local"

ENV APT_BSDMAINUTILS_VERSION="12.1.8"
ENV APT_TREE_VERSION="2.1.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:12.2.0-3"
ENV APT_GCC_MINGW_W64_VERSION="12.2.0-14+25.2"
ENV XZ_UTILS_VERSION="5.4.1-0.2"
ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
ENV APT_TREE_VERSION="1.8.0-1"
ENV APT_GCC_MULTILIB_VERSION="4:10.2.1-1"
ENV APT_GCC_MINGW_W64_VERSION="10.2.1-6+24.2"
ENV XZ_UTILS_VERSION="5.2.5-2.1~deb11u1"

# https://docs.fyne.io/started/
ENV APT_GCC_VERSION="4:12.2.0-3"
ENV APT_LIBGL1_MESA_DEV_VERSION="22.3.6-1+deb12u1"
ENV APT_XORG_DEV_VERSION="1:7.7+23"
ENV APT_GCC_VERSION="4:10.2.1-1"
ENV APT_LIBGL1_MESA_DEV_VERSION="20.3.5-1"
ENV APT_XORG_DEV_VERSION="1:7.7+22"

# https://github.com/tc-hib/go-winres/releases
ENV GO_WINRES_VERSION="v0.3.1"
Expand Down

0 comments on commit eb2713e

Please sign in to comment.