test
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user