Skip to content

Commit 7f13428

Browse files
Copy tools/releaser to devcontainer Docker image
After rails@ed1991b, the devcontainer Docker image build broke because it needs all local dependenciesto run `bundle install` and the releaser gem was introduced to the Gemfile. Since this image is only for development it feels ok to simply copy the `tools/releaser` gemspec into the `/tmp/rails` as part of the Docker file instructions as all the other local dependencies.
1 parent ed1991b commit 7f13428

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ COPY activerecord/activerecord.gemspec /tmp/rails/activerecord/
2929
COPY activestorage/activestorage.gemspec /tmp/rails/activestorage/
3030
COPY activesupport/activesupport.gemspec /tmp/rails/activesupport/
3131
COPY railties/railties.gemspec /tmp/rails/railties/
32+
COPY tools/releaser/releaser.gemspec /tmp/rails/tools/releaser/
3233
# Docker does not support COPY as users other than root. So we need to chown this dir so we
3334
# can bundle as vscode user and then remove the tmp dir
3435
RUN chown -R vscode:vscode /tmp/rails

0 commit comments

Comments
 (0)