New release workflow with support for ARM binaries#803
Conversation
|
Fantastic THANKS! |
|
Works LIKE A CHARM (including all the new I just re-enabled it in Apache Airflow in apache/airflow#22625 :D. Great job @lorenzo! |
|
Is there a plan for the new build release to be published? 😉 |
|
today, probably. @Fixmetal |
I already use beta and it works like a charm :) |
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing.
|
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing.
|
@Fixmetal we are producing arm64 binaries, though. Not sure if raspberry is arm64? |
Unless you use very old one (with arm32) - tt should be fine with Raspbery PI. |
Yes, rasp4b has armv8 which is arm64! Rasp3 has armv7 which is 32bit so no luck on that. On a side note Rasp3 won't do no good on containers for its too few resources. |
|
Fun ting I just learned that the non-beta OS in RaspPi was mostly 32 till very recently: But 64 ARM architecture seems to be the only released since 2016 - and this is the important bit :) |
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
In order to allow "big" rebuilds we remove the image tag before rebuilding, to make sure that the remote and not local image is used as source of cache. This is consequence of using inlined cache. Files are added to the Python Base image image - the base layers will be shared with other stages but we will make sure that the script stages are different for different platforms. Also - when there is no image at all we fail pre-commit. This should handle the situation when we tried to build the image and stopped it in-between. Hadolint released a new version of their checker - with support for the new Dockerfile buildkit features and native support for ARM so we are enabling it back. See hadolint/hadolint#803 Finally we still need some files that we cannot inline, because they are only needed for source build and they are too long to inline (yarn.lock for example). In order to keep the cache working for all umasks we need to bring back group fixing. GitOrigin-RevId: 25b62a72f4470186e33ad6a6c160da2e31a90668
The next release of hadolint will have ARM64 binaries with this change
closes #411