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

[SRE-2199] Package latest version of Redis Roaring into a Docker image #1

Merged
merged 4 commits into from
Feb 17, 2022

Conversation

itskingori
Copy link
Member

@itskingori itskingori commented Feb 17, 2022

As a lazy solution to locking down versions to avoid implicit upgrades. Ideally we would have preferred to build our own from scratch but I've had concerns around that process. See:

I chose <datestamp>-<shortsha> because the first part at least makes sure we order by recency and the second part communicates what version of upstream we're using. I chose not to take semantic versioning because I wasn't sure which version I should use (i.e. Redis or CRoaring) ... and especially since the upstream project (i.e. Redis Roaring) doesn't have any versioning. Changed in 3da62ab.

See: https://hub.docker.com/repository/docker/zappi/redis-roaring.

CHANGELOG.md Outdated Show resolved Hide resolved
@@ -0,0 +1 @@
FROM aviggiano/redis-roaring@sha256:0c4e97accbf6821b828b46aef0b77572b6d3866b6fb3b17e9f0ffd527f8cbeb3
Copy link
Member Author

Choose a reason for hiding this comment

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

Tested locally ...

$ docker build -t zappi/redis-roaring .
[+] Building 2.8s (6/6) FINISHED                                                                                                                             
 => [internal] load build definition from Dockerfile                                                                                                    0.0s
 => => transferring dockerfile: 143B                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                       0.0s
 => => transferring context: 34B                                                                                                                        0.0s
 => [internal] load metadata for docker.io/aviggiano/redis-roaring@sha256:0c4e97accbf6821b828b46aef0b77572b6d3866b6fb3b17e9f0ffd527f8cbeb3              2.6s
 => [auth] aviggiano/redis-roaring:pull token for registry-1.docker.io                                                                                  0.0s
 => CACHED [1/1] FROM docker.io/aviggiano/redis-roaring@sha256:0c4e97accbf6821b828b46aef0b77572b6d3866b6fb3b17e9f0ffd527f8cbeb3                         0.0s
 => exporting to image                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                 0.0s
 => => writing image sha256:a569709eb2d9d4e7d241c63299cbf74de28632d0bd031093cea9c21f95bbf375                                                            0.0s
 => => naming to docker.io/zappi/redis-roaring

Choose a reason for hiding this comment

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

👍

README.md Outdated
Comment on lines 0 to 1
# docker-redis-roaring No newline at end of file
# Redis Roaring
Copy link
Member Author

Choose a reason for hiding this comment

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

Copied from upstream README.md with minimal changes i.e. whitespace, extra lines, markdown heading format.

@itskingori itskingori changed the title Package latest version of Redis Roaring into Docker image Package latest version of Redis Roaring into a Docker image Feb 17, 2022
@itskingori itskingori merged commit 997fdf7 into main Feb 17, 2022
@delete-merged-branch delete-merged-branch bot deleted the package_redis_roaring branch February 17, 2022 10:59
@itskingori
Copy link
Member Author

Screenshot 2022-02-17 at 13 58 15

Copy link
Member

@zacblazic zacblazic left a comment

Choose a reason for hiding this comment

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

👍🏼

@itskingori itskingori changed the title Package latest version of Redis Roaring into a Docker image [SRE-2199] Package latest version of Redis Roaring into a Docker image Feb 18, 2022
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.

3 participants