Skip to content

Commit 7bf49a8

Browse files
fix(devcontainers): pin ruby dev container to debian bookworm
See devcontainers/features#1431 See devcontainers/features#1479
1 parent 0d71043 commit 7bf49a8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Installs Ruby 3.2.2. When human-essentials moves to a newer version of ruby,
22
# it will be more efficient to change the image.
33
# See https://github.com/devcontainers/images/blob/main/src/ruby/history/
4-
FROM mcr.microsoft.com/devcontainers/ruby:dev-3.2
4+
#
5+
# See devcontainers/features#1431 for why we include the `-bookworm`
6+
# suffix. Once that issue is resolved, we can remove the suffix, which
7+
# will let us follow the debian upgrade to trixie.
8+
FROM mcr.microsoft.com/devcontainers/ruby:dev-3.2-bookworm
59
RUN export DEBIAN_FRONTEND=noninteractive
610
RUN apt-get update && apt-get -y install vim curl gpg postgresql postgresql-contrib
711
RUN cd /tmp

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ You might also want to try VSCode with [this WSL extension](https://marketplace.
136136

137137
## Codespaces and Dev Container - EXPERIMENTAL 🛠️
138138

139-
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/rubyforgood/human-essentials/tree/main?quickstart=1)
139+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/rubyforgood/human-essentials/tree/fix-devcontainers?quickstart=1)
140140

141141
[![Clone and open in VSCode Dev Container](https://img.shields.io/static/v1?label=Dev%20Containers&message=Clone%20and%20Open%20in%20VSCode&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/rubyforgood/human-essentials)
142142

0 commit comments

Comments
 (0)