mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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
|
||||
# spellcheck disable=SC2015
|
||||
# hadolint ignore=SC2015
|
||||
RUN apk add --no-cache \
|
||||
go \
|
||||
npm \
|
||||
|
||||
@@ -25,6 +25,7 @@ FROM anthonyraymond/joal:$BUILD_UPSTREAM
|
||||
|
||||
# Install Joal
|
||||
# spellcheck disable=SC2015
|
||||
# hadolint ignore=SC2015
|
||||
# hadolint ignore=DL4006
|
||||
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 \
|
||||
|
||||
@@ -23,7 +23,7 @@ FROM ${BUILD_FROM}
|
||||
##################
|
||||
|
||||
# spellcheck disable=SC2015
|
||||
# hadolint ignore=DL4006
|
||||
# hadolint ignore=SC2015,DL4006
|
||||
RUN \
|
||||
# Allow UID and GID setting
|
||||
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
|
||||
# spellcheck disable=SC2015
|
||||
# hadolint ignore=SC2015
|
||||
RUN \
|
||||
#################
|
||||
# Correct image #
|
||||
|
||||
@@ -28,6 +28,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
ARG BUILD_UPSTREAM="2.11.0"
|
||||
|
||||
# spellcheck disable=SC2015
|
||||
# hadolint ignore=SC2015
|
||||
RUN \
|
||||
BUILD_ARCH=$(uname -m) \
|
||||
&& echo "${BUILD_ARCH}" \
|
||||
|
||||
@@ -34,6 +34,7 @@ RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
||||
|
||||
# Graphic drivers for rpi4
|
||||
# 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
|
||||
|
||||
##################
|
||||
|
||||
Reference in New Issue
Block a user