diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2023-03-03 15:08:53 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2023-03-03 15:12:35 -0700 |
commit | 44edde985cdacb5b2deef61c803d58856ea2f4a3 (patch) | |
tree | aa61370652648a071320bd5e48d286c1be35795b | |
parent | 410156b46a80fe37508c0d237ec1fea4c82c2865 (diff) | |
download | numpy-44edde985cdacb5b2deef61c803d58856ea2f4a3.tar.gz |
MAINT: Ignore hadolint info error DL3059.
That is a suggestion to consolidate run lines. I suppose we could
raise the error threshold from the current "info" level, but it
seems easier to just ignore what is effectively a "style" error.
[skip ci] [skip cirrus]
-rw-r--r-- | .github/workflows/docker.yml | 1 | ||||
-rw-r--r-- | .github/workflows/gitpod.yml | 1 | ||||
-rw-r--r-- | tools/gitpod/gitpod.Dockerfile | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 003cb8e5f..94f8e84ef 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -23,6 +23,7 @@ jobs: uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: ./tools/gitpod/Dockerfile + ignore: DL3059 - name: Get refs shell: bash run: | diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml index 3d56f1a3b..f20a37675 100644 --- a/.github/workflows/gitpod.yml +++ b/.github/workflows/gitpod.yml @@ -23,6 +23,7 @@ jobs: uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: ./tools/gitpod/gitpod.Dockerfile + ignore: DL3059 - name: Get refs shell: bash run: | diff --git a/tools/gitpod/gitpod.Dockerfile b/tools/gitpod/gitpod.Dockerfile index 23e4f3728..7c369ac49 100644 --- a/tools/gitpod/gitpod.Dockerfile +++ b/tools/gitpod/gitpod.Dockerfile @@ -34,6 +34,8 @@ COPY --from=clone --chown=gitpod /tmp/numpy ${WORKSPACE} WORKDIR ${WORKSPACE} # Build numpy to populate the cache used by ccache +# Note, hadolint suggests consolidating the RUN commands. That info +# level complaint (DL3059) is currently ignored to avoid errors. RUN git config --global --add safe.directory /workspace/numpy RUN git submodule update --init --depth=1 -- numpy/core/src/umath/svml numpy/core/src/npysort/x86-simd-sort RUN conda activate ${CONDA_ENV} && \ |