Skip to content

Commit

Permalink
Specify Rust version 1.77 in ruby image devcontainer
Browse files Browse the repository at this point in the history
There is an issue installing Ruby with Rust 1.78 on arm64. For now we will lock this image to 1.77 while that issue is investigated.
  • Loading branch information
andrewn617 committed May 22, 2024
1 parent 0675a76 commit 136d83c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion features/activestorage/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
set -e

apt-get update -qq && \
apt-get install --no-install-recommends -y \
libvips \
Expand All @@ -8,4 +11,4 @@ apt-get update -qq && \
# mupdf mupdf-tools
poppler-utils

rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions features/mysql-client/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
set -e

apt-get update -y && apt-get -y install --no-install-recommends default-libmysqlclient-dev

rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions features/postgres-client/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
set -e

apt-get update -y && apt-get -y install --no-install-recommends libpq-dev postgresql-client

rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions features/ruby/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
set -e

USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"

apt-get update -y
Expand Down
3 changes: 3 additions & 0 deletions features/sqlite3/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
set -e

apt-get update -y && apt-get -y install --no-install-recommends pkg-config libsqlite3-dev sqlite3

rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions images/ruby/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
},
"ghcr.io/rails/devcontainer/features/ruby": {
"version": "${localEnv:RUBY_VERSION}"
},
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.77"
}
},
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
Expand Down

0 comments on commit 136d83c

Please sign in to comment.