mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-15 13:21:50 +02:00
hadolint
This commit is contained in:
@@ -58,6 +58,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
|||||||
|
|
||||||
# Install mustache
|
# Install mustache
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
|
# hadolint ignore=SC2015
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
go \
|
go \
|
||||||
npm \
|
npm \
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ FROM anthonyraymond/joal:$BUILD_UPSTREAM
|
|||||||
|
|
||||||
# Install Joal
|
# Install Joal
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
|
# hadolint ignore=SC2015
|
||||||
# hadolint ignore=DL4006
|
# hadolint ignore=DL4006
|
||||||
RUN \
|
RUN \
|
||||||
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi \
|
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi \
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ FROM ${BUILD_FROM}
|
|||||||
##################
|
##################
|
||||||
|
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
# hadolint ignore=DL4006
|
# hadolint ignore=SC2015,DL4006
|
||||||
RUN \
|
RUN \
|
||||||
# Allow UID and GID setting
|
# Allow UID and GID setting
|
||||||
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ FROM ${BUILD_FROM}
|
|||||||
|
|
||||||
ENV PAPERLESS_DATA_DIR=/config/addons_config/paperless_ng
|
ENV PAPERLESS_DATA_DIR=/config/addons_config/paperless_ng
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
|
# hadolint ignore=SC2015
|
||||||
RUN \
|
RUN \
|
||||||
#################
|
#################
|
||||||
# Correct image #
|
# Correct image #
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
ARG BUILD_UPSTREAM="2.11.0"
|
ARG BUILD_UPSTREAM="2.11.0"
|
||||||
|
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
|
# hadolint ignore=SC2015
|
||||||
RUN \
|
RUN \
|
||||||
BUILD_ARCH=$(uname -m) \
|
BUILD_ARCH=$(uname -m) \
|
||||||
&& echo "${BUILD_ARCH}" \
|
&& echo "${BUILD_ARCH}" \
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
|||||||
|
|
||||||
# Graphic drivers for rpi4
|
# Graphic drivers for rpi4
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
|
# hadolint ignore=SC2015
|
||||||
RUN apt-get update && apt-get install -yqq --no-install-recommends libgles2-mesa libgles2-mesa-dev xorg-dev || true
|
RUN apt-get update && apt-get install -yqq --no-install-recommends libgles2-mesa libgles2-mesa-dev xorg-dev || true
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|||||||
Reference in New Issue
Block a user