Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ RUN su vscode -c "/usr/local/rvm/bin/rvm fix-permissions"
# The value is a comma-separated list of allowed domains
ENV RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev,.preview.app.github.dev,.app.github.dev"

# Drop the stale yarn apt source shipped by the base image: its signing key
# was rotated (NO_PUBKEY 62D54FD4003F6525), which breaks `apt-get update`.
# yarn itself is already installed in the base image, so the source isn't needed.
RUN find /etc/apt -name '*.list' -exec sed -i '/dl.yarnpkg.com/d' {} +

# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends postgresql-client emacs-nox
Expand Down