mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-04 19:21:24 +00:00
🔨 Switch add-on from Ubuntu to Debian
This commit is contained in:
parent
38766d9bd0
commit
2c869f90ea
3 changed files with 25 additions and 25 deletions
|
@ -10,5 +10,5 @@ variables:
|
||||||
ADDON_ARMV7: "false"
|
ADDON_ARMV7: "false"
|
||||||
ADDON_I386: "false"
|
ADDON_I386: "false"
|
||||||
|
|
||||||
ADDON_AARCH64_BASE: "hassioaddons/ubuntu-base-aarch64:5.1.0"
|
ADDON_AARCH64_BASE: "hassioaddons/debian-base-aarch64:3.2.0"
|
||||||
ADDON_AMD64_BASE: "hassioaddons/ubuntu-base-amd64:5.1.0"
|
ADDON_AMD64_BASE: "hassioaddons/debian-base-amd64:3.2.0"
|
||||||
|
|
|
@ -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
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
|
@ -23,23 +23,23 @@ RUN \
|
||||||
apt-get update \
|
apt-get update \
|
||||||
\
|
\
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
ack=2.22-1 \
|
ack=2.24-1 \
|
||||||
bsdtar=3.2.2-3.1ubuntu0.6 \
|
bsdtar=3.3.3-4+deb10u1 \
|
||||||
build-essential=12.4ubuntu1 \
|
build-essential=12.6 \
|
||||||
colordiff=1.0.18-1 \
|
colordiff=1.0.18-1 \
|
||||||
git=1:2.17.1-1ubuntu0.7 \
|
git=1:2.20.1-2+deb10u3 \
|
||||||
iputils-ping=3:20161105-1ubuntu3 \
|
iputils-ping=3:20180629-2+deb10u1 \
|
||||||
locales=2.27-3ubuntu1 \
|
locales=2.28-10 \
|
||||||
mariadb-client=1:10.1.44-0ubuntu0.18.04.1 \
|
mariadb-client=1:10.3.22-0+deb10u1 \
|
||||||
mosquitto-clients=1.4.15-2ubuntu0.18.04.3 \
|
mosquitto-clients=1.5.7-1+deb10u1 \
|
||||||
net-tools=1.60+git20161116.90da8a0-1ubuntu1 \
|
net-tools=1.60+git20180626.aebd88e-1 \
|
||||||
nmap=7.60-1ubuntu5 \
|
nmap=7.70+dfsg1-6 \
|
||||||
openssh-client=1:7.6p1-4ubuntu0.3 \
|
openssh-client=1:7.9p1-10+deb10u2 \
|
||||||
openssl=1.1.1-1ubuntu2.1~18.04.5 \
|
openssl=1.1.1d-0+deb10u3 \
|
||||||
python3-dev=3.6.7-1~18.04 \
|
python3-dev=3.7.3-1 \
|
||||||
python3=3.6.7-1~18.04 \
|
python3=3.7.3-1 \
|
||||||
wget=1.19.4-1ubuntu2.2 \
|
wget=1.20.1-1.1 \
|
||||||
zsh=5.4.2-3ubuntu3.1 \
|
zsh=5.7.1-1 \
|
||||||
\
|
\
|
||||||
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
|
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
|
||||||
\
|
\
|
||||||
|
@ -103,10 +103,10 @@ RUN \
|
||||||
build-essential \
|
build-essential \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
\
|
\
|
||||||
&& find /usr/local/lib/python3.6/ -type d -name tests -depth -exec rm -rf {} \; \
|
&& find /usr/local/lib/python3.7/ -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.7/ -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.7/ -name __pycache__ -depth -exec rm -rf {} \; \
|
||||||
&& find /usr/local/lib/python3.6/ -name "*.pyc" -depth -exec rm -f {} \; \
|
&& find /usr/local/lib/python3.7/ -name "*.pyc" -depth -exec rm -f {} \; \
|
||||||
\
|
\
|
||||||
&& rm -fr \
|
&& rm -fr \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"build_from": {
|
"build_from": {
|
||||||
"aarch64": "hassioaddons/ubuntu-base-aarch64:5.1.0",
|
"aarch64": "hassioaddons/debian-base-aarch64:3.2.0",
|
||||||
"amd64": "hassioaddons/ubuntu-base-amd64:5.1.0"
|
"amd64": "hassioaddons/debian-base-amd64:3.2.0"
|
||||||
},
|
},
|
||||||
"args": {}
|
"args": {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue