Files
plane/apps/monitor/Dockerfile.fips
T
pratapalakshmiandGitHub ea35af3250 [INFRA-302] feat: make plane-ee FIPS compliant (#5326)
* feat: add Dockerfile for FIPS compliance

* refactor: reorganize FIPS build configuration in GitHub Actions workflow

- Moved the FIPS build input to a more logical position in the workflow.
- Updated environment variable handling for FIPS builds.
- Removed the deprecated docker-compose-fips.yml file and adjusted related upload steps.
- Improved readability by consolidating Dockerfile path conditions.

* chore: update GitHub Actions workflow to use [email protected] and streamline Dockerfile path handling

- Upgraded the build-push action version to v1.3.0 for all build steps.
- Simplified Dockerfile path conditions for various services.
- Consolidated FIPS build logic for better clarity and maintainability.

* refactor: simplify FIPS build logic in GitHub Actions workflow

- Removed conditional FIPS build suffix from branch name generation.
- Updated airgapped artifacts packaging condition to focus solely on airgapped builds.

* fix: remove quotes from Dockerfile paths in GitHub Actions workflow

- Updated Dockerfile paths in the build-branch-ee.yml workflow to remove unnecessary quotes for consistency and clarity.
2026-02-09 16:06:25 +05:30

26 lines
616 B
Docker

FROM --platform=$BUILDPLATFORM tonistiigi/binfmt AS binfmt
FROM golang:1.25.4 AS build
WORKDIR /app
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git build-essential && \
go install github.com/goreleaser/goreleaser/[email protected] && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ARG PRIVATE_KEY
ENV PRIVATE_KEY=$PRIVATE_KEY
COPY . .
RUN goreleaser build --snapshot --clean --single-target --output=./prime-monitor
FROM registry.access.redhat.com/ubi10/ubi-minimal AS run
WORKDIR /app
COPY --from=build /app/prime-monitor /usr/local/bin/prime-monitor
CMD [ "prime-monitor", "start" ]