Skip to content

Commit

Permalink
Ignore DL3008 globally
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed May 27, 2024
1 parent a179834 commit 682e0c5
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ jobs:
- uses: brpaz/hadolint-action@master
with:
dockerfile: dodona-${{ matrix.image }}.dockerfile
ignore: DL3008
2 changes: 1 addition & 1 deletion dodona-assembly.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.12.3-slim-bullseye

# Add architecture repositories for ARM32
# hadolint ignore=DL3003,DL3008
# hadolint ignore=DL3003
RUN dpkg --add-architecture armhf \
&& apt-get update \
# Install additional dependencies for fetching and building packages
Expand Down
1 change: 0 additions & 1 deletion dodona-bash.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM python:3.12.3-slim-bullseye

# hadolint ignore=DL3008
RUN apt-get update && \
apt-get -y install --no-install-recommends \
bc=1.07.1-2+b2 \
Expand Down
2 changes: 1 addition & 1 deletion dodona-compilers.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG LLVM_VERSION="13.0.0"
ARG LLVM_SHA256="9680c841b5ceffa51f21d0d2ddd7573447b659d1889b83c153b7473342b22a49"


# hadolint ignore=DL3008,DL3013,DL4006
# hadolint ignore=DL3013,DL4006
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
cmake \
g++ \
Expand Down
1 change: 0 additions & 1 deletion dodona-haskell.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM haskell:9.8.2

# hadolint ignore=DL3008
RUN apt-get update \
# Install jq for json querying in bash
# Install freeglut headers for gloss compilation
Expand Down
1 change: 0 additions & 1 deletion dodona-python.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM python:3.12.3-slim-bullseye

# hadolint ignore=DL3008
RUN chmod 711 /mnt && \
useradd -m runner && \
apt-get update && \
Expand Down
1 change: 0 additions & 1 deletion dodona-r.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM r-base:4.4.0

# hadolint ignore=DL3008
RUN apt-get update && \
apt-get install -y --no-install-recommends \
default-jdk \
Expand Down

0 comments on commit 682e0c5

Please sign in to comment.