Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade witnet-rust docker image base (ubuntu) #2442

Closed

Conversation

aeweda
Copy link
Contributor

@aeweda aeweda commented Mar 18, 2024

No description provided.

@aeweda aeweda requested a review from aesedepece March 18, 2024 01:08
@aeweda aeweda self-assigned this Mar 18, 2024
jq

# Clean up apt packages so the docker image is as compact as possible
RUN apt-get clean && apt-get autoremove
RUN apt clean && apt autoremove
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is customary in the GNU world not to use apt in scripts. This is explained in its man page and the command will even complain about it when it detects that the current tty isn't interactive.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aesedepece we can revert it for the clean/autoremove but for the install/update we have to use it cuz the package is no longer available in apt-get but available in apt in the new update :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can also isolate that specific package in it's own step but that would inflate the image size and i wouldn't recommend it

@aesedepece
Copy link
Member

Merged in as 0e1be39

@aesedepece aesedepece closed this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants