distribution: update to ubi9
This commit also adds `-y` to `microdnf install`. Microdnf shipped in RHEL 9 apparently requires it. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
ab09feee59
commit
7ce51e0ab5
3 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder
|
||||
# We need to be root to install packages, but ubi8/go-toolset defaults to uid 1001
|
||||
FROM registry.access.redhat.com/ubi9/go-toolset:latest AS builder
|
||||
# We need to be root to install packages, but ubi9/go-toolset defaults to uid 1001
|
||||
USER 0
|
||||
# The go package `proglottis/gpgme` a dependency of `containers/image/v5` package
|
||||
# uses `libgpgme` so we need to install it and its build dependencies
|
||||
|
|
@ -9,11 +9,11 @@ COPY . .
|
|||
ENV GOFLAGS=-mod=vendor
|
||||
RUN go install ./cmd/osbuild-composer/
|
||||
|
||||
FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder2
|
||||
FROM registry.access.redhat.com/ubi9/go-toolset:latest AS builder2
|
||||
RUN go install github.com/jackc/tern@latest
|
||||
|
||||
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||
RUN microdnf install python3 python3-dnf
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
|
||||
RUN microdnf install -y python3 python3-dnf
|
||||
RUN mkdir -p "/usr/libexec/osbuild-composer"
|
||||
RUN mkdir -p "/etc/osbuild-composer/"
|
||||
RUN mkdir -p "/run/osbuild-composer/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue