Skip to content

Commit 243541c

Browse files
committed
Cleanup gemrc and Dockerfiles
1 parent 75e1143 commit 243541c

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

openc3-cosmos-cmd-tlm-api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN bundle config set --local without 'development' \
1515
# These need to be uninstalled with the --platform flag to avoid errors on linux-musl
1616
# See: https://github.com/protocolbuffers/protobuf/issues/16853#issuecomment-2583135716
1717
# Should be fixed April 2025
18-
&& gem uninstall grpc --platform=aarch64-linux --all --force \
19-
&& gem uninstall google-protobuf --platform=aarch64-linux --all --force \
18+
&& gem uninstall grpc --platform aarch64-linux --all --force \
19+
&& gem uninstall google-protobuf --platform aarch64-linux --all --force \
2020
&& rm Gemfile.lock \
2121
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
2222
/var/cache/apk/* \

openc3-cosmos-script-runner-api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN bundle config set --local without 'development' \
1515
# These need to be uninstalled with the --platform flag to avoid errors on linux-musl
1616
# See: https://github.com/protocolbuffers/protobuf/issues/16853#issuecomment-2583135716
1717
# Should be fixed April 2025
18-
&& gem uninstall grpc --platform=aarch64-linux --all --force \
19-
&& gem uninstall google-protobuf --platform=aarch64-linux --all --force \
18+
&& gem uninstall grpc --platform aarch64-linux --all --force \
19+
&& gem uninstall google-protobuf --platform aarch64-linux --all --force \
2020
&& rm Gemfile.lock \
2121
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
2222
/var/cache/apk/* \

openc3-ruby/.gemrc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
---
1+
# See https://guides.rubygems.org/command-reference/?gem-environment#gem-environment
2+
3+
# List of commands to override the defaults
24
install: --no-document
35
update: --no-document
46

5-
:benchmark: false
6-
7+
# Make the gem command verbose
78
:verbose: true
8-
9+
# Print backtrace when RubyGems encounters an error
910
:backtrace: true
10-
11+
# Enable automatic updating of repository metadata
1112
:update_sources: true
13+
# A YAML array of remote gem repositories to install gems from
1214
:sources:
1315
# This is a variable that gets substituted by the Dockerfile
1416
- RUBYGEMS_URL

openc3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ RUN mkdir -p lib/openc3/ext \
2626
# These need to be uninstalled with the --platform flag to avoid errors on linux-musl
2727
# See: https://github.com/protocolbuffers/protobuf/issues/16853#issuecomment-2583135716
2828
# Should be fixed April 2025
29-
&& gem uninstall grpc --platform=aarch64-linux --all --force \
30-
&& gem uninstall google-protobuf --platform=aarch64-linux --all --force \
29+
&& gem uninstall grpc --platform aarch64-linux --all --force \
30+
&& gem uninstall google-protobuf --platform aarch64-linux --all --force \
3131
&& gem cleanup \
3232
&& rm -rf /usr/lib/ruby/gems/*/cache/* /var/cache/apk/* /tmp/* /var/tmp/*
3333

0 commit comments

Comments
 (0)