diff --git a/ki7_full/Dockerfile b/ki7_full/Dockerfile index 9674a05..7a6588e 100644 --- a/ki7_full/Dockerfile +++ b/ki7_full/Dockerfile @@ -6,19 +6,11 @@ LABEL org.opencontainers.image.description "KiCad 7 on Debian + heavy tools" ARG DEBIAN_FRONTEND=noninteractive ENV TZ=Etc/UTC COPY kicad_3d_install.sh kicad_version.py /usr/bin/ -# GPG key obtained using: https://unix.stackexchange.com/questions/679495/now-that-apt-key-is-deprecated-how-do-you-add-an-ubuntu-ppa-as-a-debian-apt-sou -COPY kicad-7.0-releases.gpg /usr/share/keyrings/ -# Debian 12.1 and Ubuntu Lunar (23.04) are quite similar on 2023-08 RUN touch /etc/apt/sources.list && \ cp /etc/apt/sources.list /etc/apt/sources.list.ok && \ - echo "deb [signed-by=/usr/share/keyrings/kicad-7.0-releases.gpg] https://ppa.launchpadcontent.net/kicad/kicad-7.0-releases/ubuntu lunar main" >> /etc/apt/sources.list && \ + echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list && \ apt-get -y update && \ - apt-get install -y --no-install-recommends kicad && \ - echo "Get libs from Mantic" && \ - cp /etc/apt/sources.list.ok /etc/apt/sources.list && \ - echo "deb [signed-by=/usr/share/keyrings/kicad-7.0-releases.gpg] https://ppa.launchpadcontent.net/kicad/kicad-7.0-releases/ubuntu mantic main" >> /etc/apt/sources.list && \ - apt-get -y update && \ - apt-get install -y --no-install-recommends kicad-footprints kicad-symbols kicad-templates && \ + apt-get install -y -t bookworm-backports --no-install-recommends kicad kicad-footprints kicad-symbols kicad-templates && \ apt-get -y autoremove && \ rm -rf /var/lib/apt/lists/* /var/cache/debconf/templates.dat-old /var/lib/dpkg/status-old && \ rm -rf /usr/share/icons/Adwaita/ /*.deb