* 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.
24 lines
673 B
Docker
24 lines
673 B
Docker
FROM caddy:2.10.0-builder-alpine AS caddy-builder
|
|
|
|
RUN xcaddy build \
|
|
--with github.com/caddy-dns/[email protected] \
|
|
--with github.com/caddy-dns/digitalocean@04bde2867106aa1b44c2f9da41a285fa02e629c5 \
|
|
--with github.com/mholt/caddy-l4@4d3c80e89c5f80438a3e048a410d5543ff5fb9f4
|
|
|
|
FROM registry.access.redhat.com/ubi10/ubi-minimal
|
|
|
|
RUN microdnf install -y \
|
|
ca-certificates \
|
|
curl \
|
|
bash \
|
|
nss \
|
|
&& microdnf clean all
|
|
|
|
COPY --from=caddy-builder /usr/bin/caddy /usr/bin/caddy
|
|
COPY Caddyfile.ee /etc/caddy/Caddyfile
|
|
|
|
WORKDIR /srv
|
|
EXPOSE 80 443
|
|
|
|
ENTRYPOINT ["caddy"]
|
|
CMD ["run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"] |