From c6bdb838bdbf382e317a42d11a31fff73dfe68f3 Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Sun, 24 Nov 2024 19:49:49 +0100 Subject: [PATCH] test --- vhclient/Dockerfile | 27 +++++++++++++++++---------- vhclient/config.yaml | 2 +- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/vhclient/Dockerfile b/vhclient/Dockerfile index 233207a..2042762 100644 --- a/vhclient/Dockerfile +++ b/vhclient/Dockerfile @@ -1,19 +1,26 @@ -ARG BUILD_FROM=ghcr.io/hassio-addons/base:16.3.6 +ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:7.5.1 # hadolint ignore=DL3006 FROM ${BUILD_FROM} +# Confiure locale +ENV \ + LANG=en_US.UTF-8 \ + LANGUAGE=en_US:en \ + LC_ALL=en_US.UTF-8 \ + PIP_BREAK_SYSTEM_PACKAGES=1 + +# Set shell +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +RUN \ + apt-get update \ + \ + && apt-get install -y --no-install-recommends \ + crudini + # Copy root filesystem COPY rootfs / -# Copy Python requirements file -COPY requirements.txt /tmp/ - -# Setup base -RUN \ - apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \ - py3-iniparse=0.5-r7 \ - py3-six=1.16.0-r9 - #RUN \ # curl -sSLf -o initool.zip \ # "https://github.com/dbohdan/initool/releases/download/v1.0.0/initool-v1.0.0-9dc7574-linux-x86_64.zip" diff --git a/vhclient/config.yaml b/vhclient/config.yaml index 48243d1..54c8fd2 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.35" +version: "0.1.36" slug: vhclient description: VirtualHere Client arch: