Dockerfile lint errors fix (#1493)

Fix the Dockerfile linter errors and most warnings
This commit is contained in:
TianlongLiang
2022-09-22 13:06:11 +08:00
committed by GitHub
parent ba3af0b196
commit ee210d019f
11 changed files with 102 additions and 191 deletions

View File

@ -9,7 +9,7 @@ readonly VARIANT=$(lsb_release -c | awk '{print $2}')
docker build \
--memory=4G --cpu-quota=50000 \
-t wamr_dev_${VARIANT}:0.1 -f "${CURRENT_PATH}"/Dockerfile "${CURRENT_PATH}" \
-t wamr_dev_${VARIANT}:0.1 -f "${ROOT}"/.devcontainer/Dockerfile "${ROOT}"/.devcontainer \
&& docker run --rm -it \
--cap-add=SYS_PTRACE \
--cpus=".5" \