Skip to content

Commit

Permalink
Update Crystal 1.13 to 1.13.2
Browse files Browse the repository at this point in the history
Also update Alpine 3.20 to latest 3.20.2
  • Loading branch information
luislavena committed Aug 20, 2024
1 parent 96c8c5a commit 65f97f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
include:
- crystal_major_minor: '1.13'
crystal_full: '1.13.1'
crystal_full: '1.13.2'
target_platforms: linux/amd64,linux/arm64
concurrency_group: compile-crystal

Expand Down
12 changes: 6 additions & 6 deletions docker/1.13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# ---
# stage0: bootstrap Crystal using Alpine's build of Crystal
FROM --platform=$BUILDPLATFORM alpine:3.20.1 AS stage0
FROM --platform=$BUILDPLATFORM alpine:3.20.2 AS stage0

# expose the target architecture to be used in cross-compilation
ARG TARGETARCH
Expand All @@ -33,8 +33,8 @@ RUN --mount=type=cache,sharing=private,target=/var/cache/apk \
RUN set -eux -o pipefail; \
cd /tmp; \
export \
CRYSTAL_VERSION=1.13.1 \
CRYSTAL_SHA256=e6bb26a16a592ea1a4b20b9ff2e84264265728ba48390c1f765b62517e276604 \
CRYSTAL_VERSION=1.13.2 \
CRYSTAL_SHA256=c537336c10ff0d9cd3673e195165667e478be92e0a8cc6664bdec5b960745c4b \
; \
{ \
curl --fail -Lo crystal.tar.gz https://github.com/crystal-lang/crystal/archive/refs/tags/${CRYSTAL_VERSION}.tar.gz; \
Expand Down Expand Up @@ -82,7 +82,7 @@ RUN set -eux -o pipefail; \

# ---
# stage1: link compiled objects on target platform
FROM alpine:3.20.1 AS stage1
FROM alpine:3.20.2 AS stage1

# install dependencies needed for linking
RUN --mount=type=cache,sharing=private,target=/var/cache/apk \
Expand Down Expand Up @@ -138,7 +138,7 @@ RUN set -eux; \

# ---
# stage2: prepare binaries and code for final image
FROM alpine:3.20.1 AS stage2
FROM alpine:3.20.2 AS stage2

# combine source code and final binaries from previous stages
COPY --from=stage0 /tmp/crystal/src /usr/local/share/crystal/src
Expand All @@ -147,7 +147,7 @@ COPY --from=stage1 /tmp/usr/local/bin /usr/local/bin

# ---
# stage3: final image
FROM alpine:3.20.1 AS stage3
FROM alpine:3.20.2 AS stage3

# upgrade system and installed dependencies for security patches
RUN --mount=type=cache,sharing=private,target=/var/cache/apk \
Expand Down

0 comments on commit 65f97f3

Please sign in to comment.