From 2c869f90ea1218e47a4cd6cd44d5c0c11daaa0fa Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 16 May 2020 19:16:29 +0200 Subject: [PATCH] :hammer: Switch add-on from Ubuntu to Debian --- .gitlab-ci.yml | 4 ++-- vscode/Dockerfile | 42 +++++++++++++++++++++--------------------- vscode/build.json | 4 ++-- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdbec74..48a9f6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,5 +10,5 @@ variables: ADDON_ARMV7: "false" ADDON_I386: "false" - ADDON_AARCH64_BASE: "hassioaddons/ubuntu-base-aarch64:5.1.0" - ADDON_AMD64_BASE: "hassioaddons/ubuntu-base-amd64:5.1.0" + ADDON_AARCH64_BASE: "hassioaddons/debian-base-aarch64:3.2.0" + ADDON_AMD64_BASE: "hassioaddons/debian-base-amd64:3.2.0" diff --git a/vscode/Dockerfile b/vscode/Dockerfile index 54f0386..bb7dd4e 100755 --- a/vscode/Dockerfile +++ b/vscode/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM=hassioaddons/ubuntu-base:5.1.0 +ARG BUILD_FROM=hassioaddons/debian-base:3.2.0 # hadolint ignore=DL3006 FROM ${BUILD_FROM} @@ -23,23 +23,23 @@ RUN \ apt-get update \ \ && apt-get install -y --no-install-recommends \ - ack=2.22-1 \ - bsdtar=3.2.2-3.1ubuntu0.6 \ - build-essential=12.4ubuntu1 \ + ack=2.24-1 \ + bsdtar=3.3.3-4+deb10u1 \ + build-essential=12.6 \ colordiff=1.0.18-1 \ - git=1:2.17.1-1ubuntu0.7 \ - iputils-ping=3:20161105-1ubuntu3 \ - locales=2.27-3ubuntu1 \ - mariadb-client=1:10.1.44-0ubuntu0.18.04.1 \ - mosquitto-clients=1.4.15-2ubuntu0.18.04.3 \ - net-tools=1.60+git20161116.90da8a0-1ubuntu1 \ - nmap=7.60-1ubuntu5 \ - openssh-client=1:7.6p1-4ubuntu0.3 \ - openssl=1.1.1-1ubuntu2.1~18.04.5 \ - python3-dev=3.6.7-1~18.04 \ - python3=3.6.7-1~18.04 \ - wget=1.19.4-1ubuntu2.2 \ - zsh=5.4.2-3ubuntu3.1 \ + git=1:2.20.1-2+deb10u3 \ + iputils-ping=3:20180629-2+deb10u1 \ + locales=2.28-10 \ + mariadb-client=1:10.3.22-0+deb10u1 \ + mosquitto-clients=1.5.7-1+deb10u1 \ + net-tools=1.60+git20180626.aebd88e-1 \ + nmap=7.70+dfsg1-6 \ + openssh-client=1:7.9p1-10+deb10u2 \ + openssl=1.1.1d-0+deb10u3 \ + python3-dev=3.7.3-1 \ + python3=3.7.3-1 \ + wget=1.20.1-1.1 \ + zsh=5.7.1-1 \ \ && curl https://bootstrap.pypa.io/get-pip.py | python3 \ \ @@ -103,10 +103,10 @@ RUN \ build-essential \ python3-dev \ \ - && find /usr/local/lib/python3.6/ -type d -name tests -depth -exec rm -rf {} \; \ - && find /usr/local/lib/python3.6/ -type d -name test -depth -exec rm -rf {} \; \ - && find /usr/local/lib/python3.6/ -name __pycache__ -depth -exec rm -rf {} \; \ - && find /usr/local/lib/python3.6/ -name "*.pyc" -depth -exec rm -f {} \; \ + && find /usr/local/lib/python3.7/ -type d -name tests -depth -exec rm -rf {} \; \ + && find /usr/local/lib/python3.7/ -type d -name test -depth -exec rm -rf {} \; \ + && find /usr/local/lib/python3.7/ -name __pycache__ -depth -exec rm -rf {} \; \ + && find /usr/local/lib/python3.7/ -name "*.pyc" -depth -exec rm -f {} \; \ \ && rm -fr \ /tmp/* \ diff --git a/vscode/build.json b/vscode/build.json index 72629b3..256ea5b 100644 --- a/vscode/build.json +++ b/vscode/build.json @@ -1,7 +1,7 @@ { "build_from": { - "aarch64": "hassioaddons/ubuntu-base-aarch64:5.1.0", - "amd64": "hassioaddons/ubuntu-base-amd64:5.1.0" + "aarch64": "hassioaddons/debian-base-aarch64:3.2.0", + "amd64": "hassioaddons/debian-base-amd64:3.2.0" }, "args": {} }