chore: stop using global hadolint comment
Build Container Image / build_latest_amd64 (push) Successful in 38s Details
Build Container Image / build_latest (push) Successful in 53s Details
Build Container Image / push_latest_amd64 (push) Successful in 1m24s Details
Build Container Image / push_latest (push) Successful in 22s Details
Build Container Image / update_readme (push) Successful in 6s Details

This commit is contained in:
Daniel Wolf 2024-03-30 17:47:54 -04:00
parent 57a2306b68
commit 8c00272828
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 5 additions and 4 deletions

View File

@ -2,8 +2,6 @@
#
# SPDX-License-Identifier: ISC
# hadolint global ignore=SC2046
# hadolint ignore=DL3007
FROM archlinux:latest
LABEL maintainer="Daniel Wolf <nephatrine@gmail.com>"
@ -12,7 +10,7 @@ LABEL maintainer="Daniel Wolf <nephatrine@gmail.com>"
# && reflector -l 200 -p https --sort rate --save /etc/pacman.d/mirrorlist.reflector \
# && mv /etc/pacman.d/mirrorlist.reflector /etc/pacman.d/mirrorlist \
# hadolint ignore=DL4006
# hadolint ignore=DL4006,SC2046
RUN pacman -Syu --noconfirm \
&& pacman-db-upgrade \
&& for file in $(find /etc -name '*.pacnew'); do mv -vf "${file}" "$(echo ${file} | sed 's/\.pacnew//g')"; done \
@ -29,6 +27,7 @@ RUN pacman -Syu --noconfirm \
&& echo 'builder ALL=(ALL) NOPASSWD: ALL' >/etc/sudoers.d/builder \
&& rm -rf /tmp/* /var/tmp/*
# hadolint ignore=SC2046
RUN pacman -Sy --noconfirm --needed \
autoconf automake binutils bison clang cmake debugedit fakeroot flex gcc \
lib32-gcc-libs libtool nasm ninja pkgconf texinfo \
@ -40,7 +39,7 @@ RUN pacman -Sy --noconfirm --needed \
&& rm -rf /tmp/* /var/tmp/*
ENV PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin
# hadolint ignore=DL3013
# hadolint ignore=DL3013,SC2046
RUN pacman -Sy --noconfirm --needed python-pipx reuse \
&& if [ -n "$(pacman -Qtdq)" ]; then pacman -Rns --noconfirm $(pacman -Qtdq); fi \
&& pacman -Scc --noconfirm \
@ -48,6 +47,7 @@ RUN pacman -Sy --noconfirm --needed python-pipx reuse \
&& rm -rf /tmp/* /var/tmp/*
ENV CGO_ENABLED=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE" GOPATH=/go
# hadolint ignore=SC2046
RUN pacman -Sy --noconfirm --needed go \
&& if [ -n "$(pacman -Qtdq)" ]; then pacman -Rns --noconfirm $(pacman -Qtdq); fi \
&& pacman -Scc --noconfirm \
@ -55,6 +55,7 @@ RUN pacman -Sy --noconfirm --needed go \
&& rm -rf /tmp/* /var/tmp/*
ENV PATH ${GOPATH}/bin:$PATH
# hadolint ignore=SC2046
RUN pacman -Sy --noconfirm --needed \
doxygen graphviz imagemagick librsvg python-jinja python-pygments \
texlive-core \