Skip to content

Commit

Permalink
reduce arm64 image size
Browse files Browse the repository at this point in the history
  • Loading branch information
roylez committed Jan 21, 2022
1 parent b95b2d0 commit 55eac40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ RUN umask 002 && git init && \
bundle install --without test development -j 4 && \
rm -rf /usr/local/bundle/cache/*.gem && \
find /usr/local/bundle/gems/ -name "*.c" -delete && \
find /usr/local/bundle/gems/ -name "*.o" -delete
find /usr/local/bundle/gems/ -name "*.o" -delete && \
rm -rf /usr/local/bundle/gems/grpc-*/include && \
rm -rf /usr/local/bundle/gems/grpc-*/third_party && \
rm -rf /usr/local/bundle/gems/grpc-*/src/core && \
rm -rf /usr/local/bundle/gems/grpc-*/src/ruby/ext

COPY . .

Expand Down

0 comments on commit 55eac40

Please sign in to comment.