mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
baddec1e9a
The tests worked fine on multiple architectures, but would only run "bare metal", i.e. tests that required containers could not be run. Enable basic multi-architecture support by allowing containers to be built using whatever architecture the host supports. Also allow cached containers to be defined for multiple architectures in container.yaml. Add a Dockerfile which can be used as a container for other containers to provide a consistent development environment. The primary goal is to allow development on Mac M1 but other architectures should find these improvements useful.
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
# **********************************************************************************************************************************
|
|
# Container Cache
|
|
#
|
|
# Contains hashes for containers that are available on Docker hub. If present, the container can be pulled instead of being built
|
|
# locally which saves a lot of time. Note: these are hashes of the Dockerfile not the actual binary image.
|
|
#
|
|
# To build a new image:
|
|
# - if Dockerfile has changed, just build as usual
|
|
# - if Dockerfile has not changed, comment out vm hash below and use --vm-force when building
|
|
#
|
|
# To upload a new image:
|
|
# - docker login -u pgbackrest
|
|
# - VM=XXX;DATE=YYYYMMDDX;BASE=pgbackrest/test:${VM?}-base;docker tag ${BASE?} ${BASE?}-${DATE?} && docker push ${BASE?}-${DATE?}
|
|
# **********************************************************************************************************************************
|
|
20210503A:
|
|
aarch64:
|
|
u20: 00a309971d5566ff3eb0db92c66b4f4ef0566d36
|
|
co7: 41b9ffa64e5914753708eb3cdde3892010683fd7
|
|
|
|
20210113A:
|
|
x86_64:
|
|
co7: 2c1e13990f92635cc7d959dcbe497b765861c2b2
|
|
|
|
20200924A:
|
|
x86_64:
|
|
u18: d95d53e642fc1cea4a2b8e935ea7d9739f7d1c46
|
|
|
|
20200507A:
|
|
x86_64:
|
|
f32: 61792779061d2a675509c65bfa64b61b8d4cea17
|
|
|
|
20200505A:
|
|
x86_64:
|
|
u12: 8a88ab44aace049d7da5ca1094375ff8b9aeb7ab
|