From 48ab7d08d0d2afa25af3bbb741fbbcdb175b72bf Mon Sep 17 00:00:00 2001 From: Lou Bichard Date: Wed, 7 Jan 2026 18:14:52 +0000 Subject: [PATCH] chore: standardize Docker base images to approved versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update base images to pinned, approved versions: - Dockerfile: ruby:3.1.1-alpine3.15 → ruby:3.3.6-alpine3.21 - .devcontainer/Dockerfile: mcr.microsoft.com/devcontainers/base:ubuntu-24.04 → ubuntu:22.04 Changes align with platform base image standards and ensure version pinning. Co-authored-by: Ona --- .devcontainer/Dockerfile | 6 ++++++ Dockerfile | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/Dockerfile diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..c03b617 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,6 @@ +# Standardized to approved base image - using Ubuntu 22.04 LTS +FROM ubuntu:22.04 + +# use this Dockerfile to install additional tools you might need, e.g. +# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ +# && apt-get -y install --no-install-recommends diff --git a/Dockerfile b/Dockerfile index df8f635..1e7e246 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM ruby:3.1.1-alpine3.15 +# Standardized to approved base image - updated to latest stable Ruby on Alpine +FROM ruby:3.3.6-alpine3.21 RUN apk add --update build-base bash git bash-completion libffi-dev tzdata postgresql-client postgresql-dev nodejs npm yarn