Skip to content

Commit

Permalink
Update Crystal 1.14 to 1.14.1
Browse files Browse the repository at this point in the history
Also update Alpine 3.20 to latest 3.20.5
  • Loading branch information
luislavena committed Jan 11, 2025
1 parent 936f422 commit 1c11a23
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.14"
crystal_full: "1.14.0"
crystal_full: "1.14.1"
target_platforms: linux/amd64,linux/arm64
concurrency_group: compile-crystal

Expand Down
12 changes: 6 additions & 6 deletions docker/1.14/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.3 AS stage0
FROM --platform=$BUILDPLATFORM alpine:3.20.5 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.14.0 \
CRYSTAL_SHA256=85c74d8654a0e111e2eaec6de38470bc9cb6762bc5b799dd3693d18cce4bc807 \
CRYSTAL_VERSION=1.14.1 \
CRYSTAL_SHA256=3e0e30f6c57bd86dbd52ccde4e42fc57c178f6bef47edc96b8c911b3fb12bd5b \
; \
{ \
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.3 AS stage1
FROM alpine:3.20.5 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.3 AS stage2
FROM alpine:3.20.5 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.3 AS stage3
FROM alpine:3.20.5 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 1c11a23

Please sign in to comment.