Fix the development container to set the right permissions to bundler

This commit is contained in:
Rafael Mendonça França 2021-10-12 22:16:38 +00:00 committed by GitHub
parent 3bfe4191a3
commit 0bba05100d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

@ -28,8 +28,6 @@ RUN wget -qO /tmp/im.tar.xz https://imagemagick.org/download/releases/ImageMagic
&& ldconfig /usr/local/lib \
&& rm -rf /tmp/*
# [Optional] Uncomment this line to install additional gems.
# Add the Rails main Gemfile and install the gems. This means the gem install can be done
# during build instead of on start. When a fork or branch has different gems, we still have an
# advantage due to caching of the other gems.
@ -51,6 +49,3 @@ RUN cd /tmp/rails \
&& bundle install \
&& yarn install \
&& rm -rf /tmp/rails
# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1

@ -1,6 +1,8 @@
bundle install
yarn install
sudo chown -R vscode:vscode /usr/local/bundle/bundler
sudo service postgresql start
sudo service mariadb start
sudo service redis-server start

@ -100,7 +100,7 @@ PATH
actionpack (= 7.0.0.alpha2)
activesupport (= 7.0.0.alpha2)
method_source
rake (>= 0.13)
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5.0.beta5)
@ -606,4 +606,4 @@ DEPENDENCIES
websocket-client-simple!
BUNDLED WITH
2.2.28
2.2.29