Skip to content

Commit

Permalink
Merge pull request #51 from rails/explicitly-set-user
Browse files Browse the repository at this point in the history
Explicitly set the user to vscode in the Ruby image Dockerfile
  • Loading branch information
andrewn617 authored Oct 3, 2024
2 parents 0e92227 + 4c9d4f3 commit e0a7118
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/ruby/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ FROM mcr.microsoft.com/devcontainers/base:1-bookworm

RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# Remove imagemagick due to https://security-tracker.debian.org/tracker/CVE-2019-10131
&& apt-get purge -y imagemagick imagemagick-6-common
&& apt-get purge -y imagemagick imagemagick-6-common

USER vscode

0 comments on commit e0a7118

Please sign in to comment.