Skip to content

Commit

Permalink
Ignore hadolint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpittwood committed Apr 10, 2024
1 parent 4b07f22 commit 1f3613e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion product/base/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ COPY scripts/rhel/* ${SCRIPTS_DIR}/

### Update/upgrade system packages ###
COPY deps/centos7_packages.txt /tmp/packages.txt
# hadolint ignore=SC2046
RUN ${SCRIPTS_DIR}/yum.sh --update upgrade \
&& ${SCRIPTS_DIR}/yum.sh install epel-release \
&& ${SCRIPTS_DIR}/yum.sh install "$(cat /tmp/packages.txt)" \
&& ${SCRIPTS_DIR}/yum.sh install $(cat /tmp/packages.txt) \
&& ${SCRIPTS_DIR}/yum.sh --clean

### Install tini ###
Expand Down
3 changes: 2 additions & 1 deletion product/base/Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ COPY scripts/ubuntu/* ${SCRIPTS_DIR}/

### Update/upgrade system packages ###
COPY deps/ubuntu2204_packages.txt /tmp/apt_packages.txt
# hadolint ignore=SC2046
RUN ${SCRIPTS_DIR}/apt.sh --update install lsof \
&& ${SCRIPTS_DIR}/apt.sh --update upgrade \
&& ${SCRIPTS_DIR}/apt.sh install "$(cat /tmp/apt_packages.txt)" \
&& ${SCRIPTS_DIR}/apt.sh install $(cat /tmp/apt_packages.txt) \
&& ${SCRIPTS_DIR}/apt.sh --clean \
&& rm -f /tmp/apt_packages.txt

Expand Down

0 comments on commit 1f3613e

Please sign in to comment.