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

Update docker.yml and Dockerfile, fix ci #466

Closed
wants to merge 7 commits into from
Closed

Conversation

faddat
Copy link
Contributor

@faddat faddat commented Jan 29, 2022

Use github container registry

Use github container registry
@faddat faddat marked this pull request as draft January 29, 2022 15:36
@faddat faddat marked this pull request as ready for review January 29, 2022 15:53
Copy link
Collaborator

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

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

utACK

Dockerfile Outdated

WORKDIR /iavl
# This docker image is designed to be used in CI for benchmarks and also by developers wanting an environment that always has the lastest rocksdb and cleveldb.
FROM faddat/archlinux
Copy link
Collaborator

Choose a reason for hiding this comment

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

how about using one of the official arch or alpine linux distros?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ping

Copy link
Contributor Author

@faddat faddat Apr 11, 2022

Choose a reason for hiding this comment

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

hey sure thing, but ah, that means alpine and thus musl.

I maintain that image because Arch isn't multiarch by default. If we then search for distros with really rigorously up to date rolling release package management, we come up emptdy. What do you think?

That image is built here:

https://github.com/faddat/archlinux-docker/runs/5964553569?check_suite_focus=true

Here's how it works:

it makes amd64
it makes arm64

it combines them into the same manifest and then pushes to docker hub daily.

Since few use musl for real, using alpine as build distro invites pain in the form of build environments that don't match runtime environments.

If popularity / adoption / usage matters, I do think it is the leading multiarch arch linux image on docker hub.

image

context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository_owner }}/iavl:latest
Copy link
Member

Choose a reason for hiding this comment

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

love this!! we should migrate everything we have to this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so, ok-- this is a package deal with the above docker image, at least in my experience the multiarch stuff. Let me see what I can do.

@faddat faddat changed the title Update docker.yml Update docker.yml and Dockerfile, fix ci Apr 11, 2022
@tac0turtle
Copy link
Member

we removed this docker file

@tac0turtle tac0turtle closed this May 2, 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