Suppress hadolint warnings for pinning versions part (#1511)

Related to https://github.com/bytecodealliance/wasm-micro-runtime/issues/1418.

Suppress hadolint warnings for pinning version.
This is because these warnings are for reproducible builds.
But for development and CIs, ordinary case developers have to use the latest packages.
This commit is contained in:
Hiroshi Hatake
2022-09-23 11:34:47 +09:00
committed by GitHub
parent 1ff04a9125
commit 3693cbe54d
4 changed files with 10 additions and 3 deletions

View File

@ -8,6 +8,7 @@ WORKDIR /root/
COPY resource /root/
## - download cmake with wget and set up
# hadolint ignore=DL3008
RUN wget --progress=dot:giga https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-linux-x86_64.tar.gz \
&& tar -zxvf cmake-3.21.1-linux-x86_64.tar.gz \
&& rm -f cmake-3.21.1-linux-x86_64.tar.gz \