text stringlengths 0 3.02k |
|---|
It only uses those things if the target arch is valid. |
[3/16/2024 2:44 PM] joe.young.security |
If the target arch is not valid, then it doesn't use that code |
[3/16/2024 2:45 PM] joe.young.security |
That's how they can have a single Dockerfile for arm, amd64, etc |
[3/16/2024 2:45 PM] wildtang3nt |
I think I understand now |
[3/16/2024 2:45 PM] wildtang3nt |
`buildx` is still a bit of a mystery to me |
[3/16/2024 2:45 PM] joe.young.security |
Yeah once you read their Dockerfile, it makes a lot of sense to go that route. |
[3/16/2024 2:46 PM] joe.young.security |
And Jannik is on the right track with how to make it slim |
[3/16/2024 2:46 PM] joe.young.security |
I went the sledgehammer approach to get it working 😅 |
[3/16/2024 2:47 PM] wildtang3nt |
if I understand correctly anyway this would be creating additional profiles to what we have now where we get different images under the same tag for linux/amd64, linux/arm64? |
[3/16/2024 2:47 PM] wildtang3nt |
just we'd have some even more that have the GPU baked in or not? |
[3/16/2024 2:47 PM] wildtang3nt |
and will pull that if --gpu is used? |
[3/16/2024 2:47 PM] joe.young.security |
I don't know if I understand the question. |
[3/16/2024 2:48 PM] wildtang3nt |
I probably misunderstand the premise entirely so no worries |
[3/16/2024 2:48 PM] joe.young.security |
What do you mean by profiles? |
[3/16/2024 2:48 PM] wildtang3nt |
buildx uses the one dockerfile to make intel and arm builds |
[3/16/2024 2:48 PM] wildtang3nt |
we don't need to specify that we want that with a docker tag, :main is :main no matter which you have |
[3/16/2024 2:48 PM] wildtang3nt |
but docker engine will get the right image |
[3/16/2024 2:49 PM] joe.young.security |
Yes, unless I'm mistaken too, because of the target arch in the Dockerfile |
[3/16/2024 2:49 PM] joe.young.security |
That's how I understand it works. |
[3/16/2024 2:49 PM] joe.young.security |
That's something we should also be able to confirm by looking at Ollama |
[3/16/2024 2:51 PM] wildtang3nt |
I'm reading it.. it's not making sense yet lol |
[3/16/2024 2:51 PM] joe.young.security |
doh 🤣 |
[3/16/2024 2:51 PM] wildtang3nt |
give me time |
[3/16/2024 2:52 PM] wildtang3nt |
anyway I'm sure you fine folks who know better than me will come to an understanding, you both seem pretty sharp |
{Reactions} |
🔪 |
[3/16/2024 2:52 PM] wildtang3nt |
just putting in my two ignorant cents: I don't want a huge image, but GPU support is nice, so idk how to solve both lol |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.