From a48447b347c1ef170e2a7a7b0d07c51e9c1bf381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Sun, 25 Aug 2024 15:22:34 +0200 Subject: [PATCH] Pin to crystal 1.13.2 in docker files --- Dockerfile | 2 +- Dockerfile.rpm | 2 +- deb.Dockerfile | 2 +- spec/Dockerfile | 2 +- tar.Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c11d7a5..4c6a665 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM 84codes/crystal:latest-alpine AS builder +FROM 84codes/crystal:1.13.2-alpine AS builder WORKDIR /tmp COPY shard.yml shard.lock ./ RUN shards install --production diff --git a/Dockerfile.rpm b/Dockerfile.rpm index 3cf7577..907243c 100644 --- a/Dockerfile.rpm +++ b/Dockerfile.rpm @@ -1,4 +1,4 @@ -ARG build_image=84codes/crystal:latest-fedora-39 +ARG build_image=84codes/crystal:1.13.2-fedora-39 FROM $build_image AS builder RUN dnf install -y --nodocs --setopt=install_weak_deps=False --repo=fedora,updates \ diff --git a/deb.Dockerfile b/deb.Dockerfile index cdfdd5b..53ca6cc 100644 --- a/deb.Dockerfile +++ b/deb.Dockerfile @@ -1,4 +1,4 @@ -ARG image=84codes/crystal:latest-debian-11 +ARG image=84codes/crystal:1.13.2-debian-11 FROM $image AS builder RUN apt-get update && \ env DEBIAN_FRONTEND=noninteractive apt-get install -y dpkg help2man lintian diff --git a/spec/Dockerfile b/spec/Dockerfile index 2543d4a..54fa719 100644 --- a/spec/Dockerfile +++ b/spec/Dockerfile @@ -1,4 +1,4 @@ -FROM 84codes/crystal:latest-ubuntu-22.04 +FROM 84codes/crystal:1.13.2-ubuntu-22.04 RUN apt-get update && apt-get install -y rabbitmq-server diff --git a/tar.Dockerfile b/tar.Dockerfile index e3f8f20..15291b8 100644 --- a/tar.Dockerfile +++ b/tar.Dockerfile @@ -1,4 +1,4 @@ -FROM 84codes/crystal:latest-alpine AS builder +FROM 84codes/crystal:1.13.2-alpine AS builder WORKDIR /usr/src/amqproxy COPY shard.yml shard.lock ./ RUN shards install --production