Skip to content

Commit

Permalink
Loose version selection rules for Alpine packages
Browse files Browse the repository at this point in the history
A recent update of Alpine package repositories broke the actions based on the
alpine image.

Today I've learned that Alpine don't keep older versions around. To avoid it
breaking again, I'm using the `~=` matcher instead of the strict `=` version
selector.

Using `~=` is valid for `hadolint` as well.

Closes #2
  • Loading branch information
bltavares committed Feb 7, 2019
1 parent 1fdee29 commit ed94782
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions cljfmt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ LABEL "homepage"="http://github.com/bltavares/actions"
LABEL "maintainer"="Bruno Tavares <[email protected]>"

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions hadolint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ LABEL "maintainer"="Bruno Tavares <[email protected]>"
COPY --from=hadolint /bin/hadolint /bin/hadolint

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions kubeval/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ LABEL "maintainer"="Bruno Tavares <[email protected]>"
COPY --from=kubeval /kubeval /bin/kubeval

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions mdlint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ LABEL "maintainer"="Bruno Tavares <[email protected]>"
RUN npm install -g [email protected]

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions pwshfmt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ RUN pwsh -c 'Install-Module -Name PowerShell-Beautifier -Force'
RUN pwsh -c 'Import-Module PowerShell-Beautifier.psd1'

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions shellcheck/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ LABEL "homepage"="http://github.com/bltavares/actions"
LABEL "maintainer"="Bruno Tavares <[email protected]>"

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions shfmt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ LABEL "maintainer"="Bruno Tavares <[email protected]>"
COPY --from=shfmt /bin/shfmt /bin/shfmt

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions tslint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ LABEL "maintainer"="Bruno Tavares <[email protected]>"
RUN npm install -g [email protected] [email protected]

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
8 changes: 4 additions & 4 deletions zprint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ LABEL "homepage"="http://github.com/bltavares/actions"
LABEL "maintainer"="Bruno Tavares <[email protected]>"

RUN apk --no-cache add \
curl=7.61.1-r1 \
jq=1.6_rc1-r1 \
bash=4.4.19-r1 \
git=2.18.1-r0
curl~=7 \
jq~=1.6 \
bash~=4 \
git~=2

COPY lib.sh /lib.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit ed94782

Please sign in to comment.