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

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