Skip to content

bot: Minor misc optimizations to reduce the Docker image size for the bot #141

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

Merged
merged 7 commits into from
Sep 3, 2019

Conversation

marco-c
Copy link
Collaborator

@marco-c marco-c commented Sep 3, 2019

No description provided.

@@ -1,6 +1,7 @@
#!/bin/bash -ex
GRCOV_VERSION="v0.5.3"
MERCURIAL_VERSION="5.1"
VERSION_CONTROL_TOOLS_REV="709c897f2444"

apt-get update
apt-get install --no-install-recommends -y curl lcov bzip2 python2-minimal python-bz2file python-dev
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@La0 is python-bz2file required for Mercurial?

@marco-c
Copy link
Collaborator Author

marco-c commented Sep 3, 2019

This is reducing the image size by 50% (from ~200MB to ~100MB).

@marco-c marco-c changed the title Minor misc optimizations to reduce the Docker image size for the bot bot: Minor misc optimizations to reduce the Docker image size for the bot Sep 3, 2019
@marco-c marco-c requested a review from La0 September 3, 2019 12:17
@La0 La0 merged commit 4bb73d8 into master Sep 3, 2019
@La0 La0 deleted the smaller_image branch September 3, 2019 12:26
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.

2 participants