Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion packaging/images/el10/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ FROM registry.access.redhat.com/ubi10/go-toolset:1.26.10-1793622842 as proxy-bui
WORKDIR /app
COPY proxy /app
USER 0

# Install runtime dependencies into a separate root for the final image
RUN dnf install -y --installroot=/runtime-root --setopt=install_weak_deps=False --nodocs \
openssl-libs tzdata && \
dnf --installroot=/runtime-root clean all

RUN CGO_ENABLED=1 CGO_CFLAGS=-flto GOEXPERIMENT=strictfipsruntime go build

FROM quay.io/flightctl/flightctl-base:el10-10.1-1769518576
FROM registry.access.redhat.com/ubi10/ubi-micro:10.2-1793858790
COPY --from=proxy-build /runtime-root/ /
COPY --from=ui-build /app/apps/standalone/dist /app/proxy/dist
COPY --from=proxy-build /app/flightctl-ui /app/proxy
WORKDIR /app/proxy
Expand Down
9 changes: 8 additions & 1 deletion packaging/images/el10/Containerfile.ocp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ FROM registry.access.redhat.com/ubi10/go-toolset:1.26.10-1793622842 as proxy-bui
WORKDIR /app
COPY proxy /app
USER 0

# Install runtime dependencies into a separate root for the final image
RUN dnf install -y --installroot=/runtime-root --setopt=install_weak_deps=False --nodocs \
openssl-libs tzdata && \
dnf --installroot=/runtime-root clean all

RUN CGO_ENABLED=1 CGO_CFLAGS=-flto GOEXPERIMENT=strictfipsruntime go build

FROM quay.io/flightctl/flightctl-base:el10-10.1-1769518576
FROM registry.access.redhat.com/ubi10/ubi-micro:10.2-1793858790
COPY --from=proxy-build /runtime-root/ /
COPY --from=ui-build /app/apps/ocp-plugin/dist /app/proxy/dist
COPY --from=proxy-build /app/flightctl-ui /app/proxy
WORKDIR /app/proxy
Expand Down
9 changes: 8 additions & 1 deletion packaging/images/el9/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.26.10-1793621864 as proxy-buil
WORKDIR /app
COPY proxy /app
USER 0

# Install runtime dependencies into a separate root for the final image
RUN dnf install -y --installroot=/runtime-root --setopt=install_weak_deps=False --nodocs \
openssl-libs tzdata && \
dnf --installroot=/runtime-root clean all

RUN CGO_ENABLED=1 CGO_CFLAGS=-flto GOEXPERIMENT=strictfipsruntime go build

FROM quay.io/flightctl/flightctl-base:9.7-1762965531
FROM registry.access.redhat.com/ubi9/ubi-micro:9.8-1793860449
COPY --from=proxy-build /runtime-root/ /
COPY --from=ui-build /app/apps/standalone/dist /app/proxy/dist
COPY --from=proxy-build /app/flightctl-ui /app/proxy
WORKDIR /app/proxy
Expand Down
9 changes: 8 additions & 1 deletion packaging/images/el9/Containerfile.ocp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.26.10-1793621864 as proxy-buil
WORKDIR /app
COPY proxy /app
USER 0

# Install runtime dependencies into a separate root for the final image
RUN dnf install -y --installroot=/runtime-root --setopt=install_weak_deps=False --nodocs \
openssl-libs tzdata && \
dnf --installroot=/runtime-root clean all

RUN CGO_ENABLED=1 CGO_CFLAGS=-flto GOEXPERIMENT=strictfipsruntime go build

FROM quay.io/flightctl/flightctl-base:9.7-1762965531
FROM registry.access.redhat.com/ubi9/ubi-micro:9.8-1793860449
COPY --from=proxy-build /runtime-root/ /
COPY --from=ui-build /app/apps/ocp-plugin/dist /app/proxy/dist
COPY --from=proxy-build /app/flightctl-ui /app/proxy
WORKDIR /app/proxy
Expand Down
Loading