Skip to content

Commit

Permalink
feat: fix hadolint problem
Browse files Browse the repository at this point in the history
Signed-off-by: Valina Li <[email protected]>
  • Loading branch information
vli11 committed Aug 15, 2023
1 parent 323adb0 commit 067ba46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ignored:
- DL3008
- DL3018
- DL3059
- DL3026

trustedRegistries:
- docker.io
4 changes: 4 additions & 0 deletions fuzz_test/Dockerfile.fuzz
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine

RUN apk add --no-cache python3 py3-pip bash coreutils

# Set SHELL flags for RUN commands to allow -e and pipefail
# Rationale: https://github.com/hadolint/hadolint/wiki/DL4006
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]

WORKDIR /restler-fuzzer
RUN wget -q -O - https://github.com/microsoft/restler-fuzzer/archive/refs/tags/v9.2.2.tar.gz | \
tar xz --strip-components 1 && \
Expand Down

0 comments on commit 067ba46

Please sign in to comment.