Skip to content

Commit

Permalink
fix(cat-ci): Pin alpine versions to try and stop containers disappear…
Browse files Browse the repository at this point in the history
…ing on upstream updates (#314)
  • Loading branch information
stevenj committed Sep 25, 2024
1 parent 630a0cf commit 8882d57
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ check-spelling:

# check-bash - test all bash files lint properly according to shellcheck.
check-bash:
FROM alpine:3.20
FROM alpine:3.20.3

DO bash-ci+SHELLCHECK --src=.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/appendix/earthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ build:
docker:
# Here we inherit from a "fresh" minimal alpine version
FROM alpine:3.20
FROM alpine:3.20.3
WORKDIR /app
# By default, we'll output this image with the 'latest' tag, but this can be
Expand Down
4 changes: 2 additions & 2 deletions docs/src/guides/languages/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ All that needs to happen is the following be added to the `Earthfile` in the roo
```Earthfile
# Internal: shell-check - test all bash files against our shell check rules.
shell-check:
FROM alpine:3.20
FROM alpine:3.20.3
DO github.com/input-output-hk/catalyst-ci/earthly/bash:vx.y.z+SHELLCHECK --src=.
# check all repo wide checks are run from here
check:
FROM alpine:3.20
FROM alpine:3.20.3
# Lint all bash files.
BUILD +shell-check
Expand Down
2 changes: 1 addition & 1 deletion docs/src/guides/languages/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ publish-example:
# This target is called by CI when publishing images. It should use the
# `SAVE IMAGE` command to save the image which is then picked up by the CI.
# Note that we start from a "fresh" base image.
FROM alpine:3.20
FROM alpine:3.20.3
WORKDIR /app
ARG tag=latest # Prefer to use `latest` by default, the CI will override this.
Expand Down
2 changes: 1 addition & 1 deletion earthly/bash/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IMPORT ../../utilities/scripts AS scripts

# Internal: builder creates a container we can use to execute shellcheck
builder:
FROM alpine:3.20
FROM alpine:3.20.3

RUN apk add --no-cache \
bash \
Expand Down
2 changes: 1 addition & 1 deletion earthly/docs/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ PACKAGE:
FUNCTION

# Use the official Nginx base image
FROM nginx:alpine3.18-slim
FROM nginx:alpine3.20-slim

# Force this server to disable the browsers cache for these files.
RUN echo " " > /etc/nginx/conf.d/disable-cache.conf; \
Expand Down
2 changes: 1 addition & 1 deletion earthly/postgresql/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ FORMAT:

# Internal: Integration Test container image
integration-test:
FROM earthly/dind:alpine-3.18-docker-23.0.6-r7
FROM earthly/dind:alpine-3.20-docker-26.1.5-r0

RUN apk add --no-cache \
bash \
Expand Down
2 changes: 1 addition & 1 deletion examples/go/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ publish-example:
# This target is called by CI when publishing images. It should use the
# `SAVE IMAGE` command to save the image which is then picked up by the CI.
# Note that we start from a "fresh" base image.
FROM alpine:3.20
FROM alpine:3.20.3
WORKDIR /app
ARG tag=latest # Prefer to use `latest` by default, the CI will override this.

Expand Down

0 comments on commit 8882d57

Please sign in to comment.