Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(docker): apply the same trims to the FIPS image

Vlad Ligai0b2548abdbcb
diff --git a/Dockerfile.fips.standalone-infisical b/Dockerfile.fips.standalone-infisical
index f8840c2ae6..204e95c3d1 100644
--- a/Dockerfile.fips.standalone-infisical
+++ b/Dockerfile.fips.standalone-infisical
@@ -151,7 +151,7 @@ RUN apt-get update && apt-get install -y \
RUN printf "[FreeTDS]\nDescription = FreeTDS Driver\nDriver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so\nSetup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so\nFileUsage = 1\n" > /etc/odbcinst.ini
COPY --from=backend-build /app .
-RUN rm -rf ./node_modules ./bdd ./e2e-test
+RUN rm -rf ./node_modules ./bdd ./e2e-test ./src
RUN npm ci --omit=dev
RUN mkdir frontend-build
@@ -160,7 +160,7 @@ RUN mkdir frontend-build
FROM base AS production
# Install all required runtime packages
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
autoconf \
automake \