This commit is contained in:
Alexandre
2022-01-20 21:22:10 +01:00
parent 73a4d2b5ff
commit b6f19713bb
6 changed files with 7 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
&& rm /automatic_packages.sh || printf '%s\n' "${PACKAGES:-}" > /ENVFILE && rm /automatic_packages.sh || printf '%s\n' "${PACKAGES:-}" > /ENVFILE
# Install mustache # Install mustache
# hadolint ignore=SC2015 # spellcheck disable=SC2015
RUN apk add --no-cache \ RUN apk add --no-cache \
go \ go \
npm \ npm \

View File

@@ -24,7 +24,8 @@ FROM anthonyraymond/joal:$BUILD_UPSTREAM
################## ##################
# Install Joal # Install Joal
# hadolint ignore=SC2015,DL4006 # spellcheck disable=SC2015
# 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 \
&& curl -s -S -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz") >/dev/null \ && curl -s -S -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz") >/dev/null \

View File

@@ -22,8 +22,8 @@ FROM ${BUILD_FROM}
# 2 Modify Image # # 2 Modify Image #
################## ##################
# spellcheck disable=SC2015
# hadolint ignore=DL4006 # hadolint ignore=DL4006
# hadolint ignore=SC2015
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 \

View File

@@ -23,7 +23,7 @@ FROM ${BUILD_FROM}
################## ##################
ENV PAPERLESS_DATA_DIR=/config/addons_config/paperless_ng ENV PAPERLESS_DATA_DIR=/config/addons_config/paperless_ng
# hadolint ignore=SC2015 # spellcheck disable=SC2015
RUN \ RUN \
################# #################
# Correct image # # Correct image #

View File

@@ -27,7 +27,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Setup base # Setup base
ARG BUILD_UPSTREAM="2.11.0" ARG BUILD_UPSTREAM="2.11.0"
# hadolint ignore=SC2015 # spellcheck disable=SC2015
RUN \ RUN \
BUILD_ARCH=$(uname -m) \ BUILD_ARCH=$(uname -m) \
&& echo "${BUILD_ARCH}" \ && echo "${BUILD_ARCH}" \

View File

@@ -33,7 +33,7 @@ RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
&& usermod --home /share/webtop abc && usermod --home /share/webtop abc
# Graphic drivers for rpi4 # Graphic drivers for rpi4
# hadolint ignore=SC2015 # spellcheck disable=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
################## ##################