From 6ab140bf6d4dc9391fd6ac254041c5c1dd62acbb Mon Sep 17 00:00:00 2001 From: Tom M <38290628+tom-m@users.noreply.github.com> Date: Tue, 27 Jun 2023 17:47:40 +0200 Subject: [PATCH] make /usr/bin/mkdir available for installing gems into the vscode image Without this the rails/webdrivers installation into mcr.microsoft.com/vscode/devcontainers/base:bullseye fails with: make DESTDIR\= sitearchdir\=./.gem.20230627-76-qe4u9x sitelibdir\=./.gem.20230627-76-qe4u9x install make: /usr/bin/mkdir: No such file or directory --- .devcontainer/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 745d36e4..64a23c8e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -25,6 +25,7 @@ RUN curl -sSL https://get.rvm.io | bash -s RUN /bin/bash -l -c ". /etc/profile.d/rvm.sh && rvm install 3.2.1" # Install Rails +RUN ln -s /bin/mkdir /usr/bin/mkdir RUN /bin/bash -l -c ". /etc/profile.d/rvm.sh && gem install rails webdrivers" RUN chown -R vscode /usr/local/rvm