Align builds with addon version

This commit is contained in:
Alexandre
2021-01-15 18:54:50 +01:00
parent 736c6dd78b
commit 816b76c2a8
12 changed files with 54 additions and 51 deletions

View File

@@ -1,16 +1,18 @@
ARG BUILD_FROM
FROM $BUILD_FROM
ARG BUILD_VERSION
FROM ${BUILD_FROM}-${BUILD_VERSION}
# Install bashio
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
jq \
jq \
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio

View File

@@ -1,9 +1,9 @@
{
"build_from": {
"armv7": "linuxserver/code-server:arm32v7-v3.8.0-ls64",
"armhf": "linuxserver/code-server:arm32v7-v3.8.0-ls64",
"aarch64": "linuxserver/code-server:arm64v8-v3.8.0-ls64",
"amd64": "linuxserver/code-server:amd64-v3.8.0-ls64"
"armv7": "linuxserver/code-server:arm32v7",
"armhf": "linuxserver/code-server:arm32v7",
"aarch64": "linuxserver/code-server:arm64v8",
"amd64": "linuxserver/code-server:amd64"
},
"squash": false,
"args": {}