2022-07-14 10:29:33 -07:00
|
|
|
# Docker images
|
|
|
|
|
|
|
|
To speed up builds and ensure that upstream dependencies remain available, we
|
2022-08-26 09:35:22 -07:00
|
|
|
publish prebuilt docker images to https://github.com/orgs/wormhole-foundation/packages.
|
2022-07-14 10:29:33 -07:00
|
|
|
|
2022-07-22 06:01:41 -07:00
|
|
|
The base images have names ending in `*.base`, such as `Dockerfile.base`.
|
|
|
|
To push a new image:
|
2022-07-14 10:29:33 -07:00
|
|
|
|
|
|
|
```sh
|
|
|
|
# first build the image
|
2022-07-22 06:01:41 -07:00
|
|
|
DOCKER_BUILDKIT=1 docker build -f Dockerfile.base -t solana .
|
2022-07-14 10:29:33 -07:00
|
|
|
# tag the image with the appropriate version
|
2022-08-26 09:35:22 -07:00
|
|
|
docker tag solana:latest ghcr.io/wormhole-foundation/solana:1.10.31
|
2022-07-14 10:29:33 -07:00
|
|
|
# push to ghcr
|
2022-08-26 09:35:22 -07:00
|
|
|
docker push ghcr.io/wormhole-foundation/solana:1.10.31
|
2022-07-14 10:29:33 -07:00
|
|
|
```
|
|
|
|
|
2022-07-22 06:01:41 -07:00
|
|
|
Finally, modify the reference in `Dockerfile` (make sure to update the sha256 hash too).
|