Skip to content

Commit 9b58a3d

Browse files
authored
Merge pull request #7 from bobuhiro11/add_HADOLINT_IGNORE
add HADOLINT_IGNORE=DL3008
2 parents 37d7be1 + 6bb7cc4 commit 9b58a3d

3 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: hadolint for controller
14-
run: docker run --rm -i hadolint/hadolint < controller/Dockerfile
14+
run: docker run -e "HADOLINT_IGNORE=DL3008" --rm -i hadolint/hadolint < controller/Dockerfile
1515
- name: hadolint for compute
16-
run: docker run --rm -i hadolint/hadolint < compute/Dockerfile
16+
run: docker run -e "HADOLINT_IGNORE=DL3008" --rm -i hadolint/hadolint < compute/Dockerfile
1717
test:
1818
runs-on: ubuntu-20.04
1919
steps:

compute/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ ENV DEVSTACK_COMMIT=a4680766515ed9317b71cfb39cd0d75dc04f3d9c
66

77
RUN apt-get update \
88
&& apt-get install -y --no-install-recommends \
9-
ca-certificates=20211016~20.04.1 \
10-
patch=2.7.6-6 \
11-
systemd=245.4-4ubuntu3.19 \
12-
sudo=1.8.31-1ubuntu1.2 \
13-
iproute2=5.5.0-1ubuntu1 \
14-
lsb=11.1.0ubuntu2 \
15-
git=1:2.25.1-1ubuntu3.6 \
16-
curl=7.68.0-1ubuntu2.14 \
17-
init=1.57 \
18-
ebtables=2.0.11-3build1 \
19-
jq=1.6-1ubuntu0.20.04.1 \
9+
ca-certificates \
10+
patch \
11+
systemd \
12+
sudo \
13+
iproute2 \
14+
lsb \
15+
git \
16+
curl \
17+
init \
18+
ebtables \
19+
jq \
2020
&& apt-get -y clean \
2121
&& rm -rf /var/lib/apt/lists/* \
2222
&& curl https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for-it.sh \

controller/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ ENV DEVSTACK_COMMIT=a4680766515ed9317b71cfb39cd0d75dc04f3d9c
66

77
RUN apt-get update \
88
&& apt-get install -y --no-install-recommends \
9-
ca-certificates=20211016~20.04.1 \
10-
patch=2.7.6-6 \
11-
systemd=245.4-4ubuntu3.19 \
12-
sudo=1.8.31-1ubuntu1.2 \
13-
iproute2=5.5.0-1ubuntu1 \
14-
lsb=11.1.0ubuntu2 \
15-
git=1:2.25.1-1ubuntu3.6 \
16-
curl=7.68.0-1ubuntu2.14 \
17-
init=1.57 \
18-
ebtables=2.0.11-3build1 \
19-
jq=1.6-1ubuntu0.20.04.1 \
9+
ca-certificates \
10+
patch \
11+
systemd \
12+
sudo \
13+
iproute2 \
14+
lsb \
15+
git \
16+
curl \
17+
init \
18+
ebtables \
19+
jq \
2020
&& apt-get -y clean \
2121
&& rm -rf /var/lib/apt/lists/* \
2222
&& curl https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for-it.sh \

0 commit comments

Comments
 (0)