Skip to content

Commit 4c6276f

Browse files
committed
feat(ubi-rust-builder): replace ubi9 with ubi10
1 parent fbb084f commit 4c6276f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/ISSUE_TEMPLATE/update-base-ubi-rust-builders.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ Add/Change/Remove anything that isn't applicable anymore
5151
> This list should be completed by the assignee(s), once respective PRs have been merged. Once all items have been
5252
> checked, the issue can be moved into _Development: Done_.
5353
54-
- [ ] Done for [ubi9-rust-builder/Dockerfile](https://github.com/stackabletech/docker-images/blob/main/ubi9-rust-builder/Dockerfile)
54+
- [ ] Done for [ubi10-rust-builder/Dockerfile](https://github.com/stackabletech/docker-images/blob/main/ubi10-rust-builder/Dockerfile)
5555
- [ ] Can build the image locally
5656
- [ ] Can build an operator image
5757

5858
<details>
5959
<summary>Testing instructions</summary>
6060

6161
```shell
62-
docker build -t oci.stackable.tech/sdp/ubi9-rust-builder . -f ubi9-rust-builder/Dockerfile
62+
docker build -t oci.stackable.tech/sdp/ubi10-rust-builder . -f ubi10-rust-builder/Dockerfile
6363

6464
# Change directory into the an operator repository and ensure the image can build
6565
docker build . -f docker/Dockerfile

.github/workflows/ubi-rust-builder.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
branches:
99
- main
1010
paths:
11-
- ubi9-rust-builder/**
1211
- ubi10-rust-builder/**
1312
- .github/actions/**
1413
- .github/workflows/ubi-rust-builder.yml
@@ -25,7 +24,7 @@ jobs:
2524
fail-fast: false
2625
matrix:
2726
runner: ["ubuntu-latest", "ubicloud-standard-8-arm-ubuntu-2404"]
28-
ubi-version: ["ubi9"]
27+
ubi-version: ["ubi10"]
2928
runs-on: ${{ matrix.runner }}
3029
steps:
3130
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -65,7 +64,7 @@ jobs:
6564
strategy:
6665
fail-fast: false
6766
matrix:
68-
ubi-version: ["ubi9"]
67+
ubi-version: ["ubi10"]
6968
runs-on: ubuntu-latest
7069
needs: ["build"]
7170
steps:
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# syntax=docker/dockerfile:1.16.0@sha256:e2dd261f92e4b763d789984f6eab84be66ab4f5f08052316d8eb8f173593acf7
22
# check=error=true
33

4-
# Find the latest version at https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5?container-tabs=gti
5-
# IMPORTANT: Be sure to use the Manifest List Digest for multi-arch support
6-
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:2f06ae0e6d3d9c4f610d32c480338eef474867f435d8d28625f2985e8acde6e8 AS builder
7-
4+
# Find the latest version at https://catalog.redhat.com/en/software/containers/ubi10/ubi-minimal/66f1504a379b9c2cf23e145c#get-the-image
5+
# IMPORTANT: Make sure to use the "Manifest List Digest" that references the images for multiple architectures
6+
# rather than just the "Image Digest" that references the image for the selected architecture.
7+
FROM registry.access.redhat.com/ubi10/ubi-minimal@sha256:28ec2f4662bdc4b0d4893ef0d8aebf36a5165dfb1d1dc9f46319bd8a03ed3365 AS builder
8+
# todo
89
LABEL maintainer="Stackable GmbH"
910

1011
# Pin the rustup version to avoid unexpected breaking changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ubi9-rust-builder
1+
# ubi10-rust-builder
22

33
These images are meant to be used in multi-stage builds as a base image for projects building Rust projects.
44
They are automatically rebuilt and pushed every night and also on every push to the main branch, in addition a build can be triggered using GitHub Actions.
@@ -10,9 +10,9 @@ This will bake in the current stable Rust version at the time this image was bui
1010
## Example usage
1111

1212
```dockerfile
13-
FROM oci.stackable.tech/ubi9-rust-builder AS builder
13+
FROM oci.stackable.tech/sdp/ubi10-rust-builder AS builder
1414

15-
FROM registry.access.redhat.com/ubi9/ubi-minimal AS operator
15+
FROM registry.access.redhat.com/ubi10/ubi-minimal AS operator
1616
LABEL maintainer="Stackable GmbH"
1717

1818
# Update image

0 commit comments

Comments
 (0)