Skip to content

Commit

Permalink
fix(deps): remove specific version in apk (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
maruloop authored Jun 3, 2024
1 parent 0b7cb3c commit e415831
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ ARG TERRAFORM_VERSION=1.7.3

SHELL ["/bin/ash", "-eo", "pipefail", "-c"]

# hadolint ignore=DL3006
RUN apk --no-cache add git=2.43.4-r0 jq=1.7.1-r0
RUN apk --no-cache add git jq

Check warning on line 8 in Dockerfile

View workflow job for this annotation

GitHub Actions / runner / hadolint

[hadolint] reported by reviewdog 🐶 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` Raw Output: message:"Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`" location:{path:"Dockerfile" range:{start:{line:8 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3018" url:"https://github.com/hadolint/hadolint/wiki/DL3018"}

RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}

Expand Down

0 comments on commit e415831

Please sign in to comment.