Skip to content

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

sha256 integrity check

Daniel Hougaarde22a6711c01b
diff --git a/Dockerfile.fips.standalone-infisical b/Dockerfile.fips.standalone-infisical
index 8c551bed8c..2fc3a089b9 100644
--- a/Dockerfile.fips.standalone-infisical
+++ b/Dockerfile.fips.standalone-infisical
@@ -143,17 +143,25 @@ RUN apt-get update && apt-get install -y \
# Install Oracle Instant Client for OracleDB mTLS wallet support
RUN ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "amd64" ]; then \
+ ORACLE_ZIP="instantclient-basic-linux.x64-23.26.0.0.0.zip" && \
+ ORACLE_URL="https://download.oracle.com/otn_software/linux/instantclient/2326000/${ORACLE_ZIP}" && \
+ EXPECTED_SHA="d6c79cbcf0ff209363e779855c690d4fc730aed847e9198a2c439bcf34760af5" && \
apt-get update && apt-get install -y libaio1t64 unzip && \
ln -sf /lib/x86_64-linux-gnu/libaio.so.1t64 /lib/x86_64-linux-gnu/libaio.so.1 && \
- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip && \
- unzip instantclient-basic-linux.x64-23.26.0.0.0.zip -d /opt/oracle && \
- rm instantclient-basic-linux.x64-23.26.0.0.0.zip; \
+ wget -q "$ORACLE_URL" && \
+ echo "$EXPECTED_SHA $ORACLE_ZIP" | sha256sum -c - && \
+ unzip "$ORACLE_ZIP" -d /opt/oracle && \
+ rm "$ORACLE_ZIP"; \
elif [ "$ARCH" = "arm64" ]; then \
+ ORACLE_ZIP="instantclient-basic-linux.arm64-23.26.0.0.0.zip" && \
+ ORACLE_URL="https://download.oracle.com/otn_software/linux/instantclient/2326000/${ORACLE_ZIP}" && \
+ EXPECTED_SHA="9c9a32051e97f087016fb334b7ad5c0aea8511ca8363afd8e0dc6ec4fc515c32" && \
apt-get update && apt-get install -y libaio1t64 unzip && \
ln -sf /lib/aarch64-linux-gnu/libaio.so.1t64 /lib/aarch64-linux-gnu/libaio.so.1 && \
- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.arm64-23.26.0.0.0.zip && \
- unzip instantclient-basic-linux.arm64-23.26.0.0.0.zip -d /opt/oracle && \
- rm instantclient-basic-linux.arm64-23.26.0.0.0.zip; \
+ wget -q "$ORACLE_URL" && \
+ echo "$EXPECTED_SHA $ORACLE_ZIP" | sha256sum -c - && \
+ unzip "$ORACLE_ZIP" -d /opt/oracle && \
+ rm "$ORACLE_ZIP"; \
fi && \
echo /opt/oracle/instantclient_23_26 > /etc/ld.so.conf.d/oracle-instantclient.conf && \
ldconfig && \
diff --git a/Dockerfile.standalone-infisical b/Dockerfile.standalone-infisical
index 1658092066..1c36a4986f 100644
--- a/Dockerfile.standalone-infisical
+++ b/Dockerfile.standalone-infisical
@@ -144,17 +144,25 @@ RUN apt-get update && apt-get install -y \
# Install Oracle Instant Client for OracleDB mTLS wallet support
RUN ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "amd64" ]; then \
+ ORACLE_ZIP="instantclient-basic-linux.x64-23.26.0.0.0.zip" && \
+ ORACLE_URL="https://download.oracle.com/otn_software/linux/instantclient/2326000/${ORACLE_ZIP}" && \
+ EXPECTED_SHA="d6c79cbcf0ff209363e779855c690d4fc730aed847e9198a2c439bcf34760af5" && \
apt-get update && apt-get install -y libaio1t64 unzip && \
ln -sf /lib/x86_64-linux-gnu/libaio.so.1t64 /lib/x86_64-linux-gnu/libaio.so.1 && \
- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip && \
- unzip instantclient-basic-linux.x64-23.26.0.0.0.zip -d /opt/oracle && \
- rm instantclient-basic-linux.x64-23.26.0.0.0.zip; \
+ wget -q "$ORACLE_URL" && \
+ echo "$EXPECTED_SHA $ORACLE_ZIP" | sha256sum -c - && \
+ unzip "$ORACLE_ZIP" -d /opt/oracle && \
+ rm "$ORACLE_ZIP"; \
elif [ "$ARCH" = "arm64" ]; then \
+ ORACLE_ZIP="instantclient-basic-linux.arm64-23.26.0.0.0.zip" && \
+ ORACLE_URL="https://download.oracle.com/otn_software/linux/instantclient/2326000/${ORACLE_ZIP}" && \
+ EXPECTED_SHA="9c9a32051e97f087016fb334b7ad5c0aea8511ca8363afd8e0dc6ec4fc515c32" && \
apt-get update && apt-get install -y libaio1t64 unzip && \
ln -sf /lib/aarch64-linux-gnu/libaio.so.1t64 /lib/aarch64-linux-gnu/libaio.so.1 && \
- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.arm64-23.26.0.0.0.zip && \
- unzip instantclient-basic-linux.arm64-23.26.0.0.0.zip -d /opt/oracle && \
- rm instantclient-basic-linux.arm64-23.26.0.0.0.zip; \
+ wget -q "$ORACLE_URL" && \
+ echo "$EXPECTED_SHA $ORACLE_ZIP" | sha256sum -c - && \
+ unzip "$ORACLE_ZIP" -d /opt/oracle && \
+ rm "$ORACLE_ZIP"; \
fi && \
echo /opt/oracle/instantclient_23_26 > /etc/ld.so.conf.d/oracle-instantclient.conf && \
ldconfig && \
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 46a5c16fc8..f70d21d7d9 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -51,17 +51,25 @@ RUN printf "[FreeTDS]\nDescription = FreeTDS Driver\nDriver = /usr/lib/x86_64-li
# Install Oracle Instant Client for OracleDB mTLS wallet support
RUN ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "amd64" ]; then \
+ ORACLE_ZIP="instantclient-basic-linux.x64-23.26.0.0.0.zip" && \
+ ORACLE_URL="https://download.oracle.com/otn_software/linux/instantclient/2326000/${ORACLE_ZIP}" && \
+ EXPECTED_SHA="d6c79cbcf0ff209363e779855c690d4fc730aed847e9198a2c439bcf34760af5" && \
apt-get update && apt-get install -y libaio1t64 unzip wget && \
ln -sf /lib/x86_64-linux-gnu/libaio.so.1t64 /lib/x86_64-linux-gnu/libaio.so.1 && \
- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip && \
- unzip instantclient-basic-linux.x64-23.26.0.0.0.zip -d /opt/oracle && \
- rm instantclient-basic-linux.x64-23.26.0.0.0.zip; \
+ wget -q "$ORACLE_URL" && \
+ echo "$EXPECTED_SHA $ORACLE_ZIP" | sha256sum -c - && \
+ unzip "$ORACLE_ZIP" -d /opt/oracle && \
+ rm "$ORACLE_ZIP"; \
elif [ "$ARCH" = "arm64" ]; then \
+ ORACLE_ZIP="instantclient-basic-linux.arm64-23.26.0.0.0.zip" && \
+ ORACLE_URL="https://download.oracle.com/otn_software/linux/instantclient/2326000/${ORACLE_ZIP}" && \
+ EXPECTED_SHA="9c9a32051e97f087016fb334b7ad5c0aea8511ca8363afd8e0dc6ec4fc515c32" && \
apt-get update && apt-get install -y libaio1t64 unzip wget && \
ln -sf /lib/aarch64-linux-gnu/libaio.so.1t64 /lib/aarch64-linux-gnu/libaio.so.1 && \
- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.arm64-23.26.0.0.0.zip && \
- unzip instantclient-basic-linux.arm64-23.26.0.0.0.zip -d /opt/oracle && \
- rm instantclient-basic-linux.arm64-23.26.0.0.0.zip; \
+ wget -q "$ORACLE_URL" && \
+ echo "$EXPECTED_SHA $ORACLE_ZIP" | sha256sum -c - && \
+ unzip "$ORACLE_ZIP" -d /opt/oracle && \
+ rm "$ORACLE_ZIP"; \
fi && \
echo /opt/oracle/instantclient_23_26 > /etc/ld.so.conf.d/oracle-instantclient.conf && \
ldconfig && \
diff --git a/backend/Dockerfile.dev b/backend/Dockerfile.dev
index 63d806b70f..3df06a3292 100644
--- a/backend/Dockerfile.dev
+++ b/backend/Dockerfile.dev
@@ -64,10 +64,13 @@ RUN apt-get install -y opensc
RUN mkdir -p /opt/oracle && \
ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "arm64" ]; then \
+ EXPECTED_SHA="9c9a32051e97f087016fb334b7ad5c0aea8511ca8363afd8e0dc6ec4fc515c32" && \
curl -o /tmp/instantclient.zip https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.arm64-23.26.0.0.0.zip; \
else \
+ EXPECTED_SHA="d6c79cbcf0ff209363e779855c690d4fc730aed847e9198a2c439bcf34760af5" && \
curl -o /tmp/instantclient.zip https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip; \
fi && \
+ echo "$EXPECTED_SHA /tmp/instantclient.zip" | sha256sum -c - && \
unzip -oq /tmp/instantclient.zip -d /opt/oracle && \
rm /tmp/instantclient.zip && \
echo /opt/oracle/instantclient_23_26 > /etc/ld.so.conf.d/oracle-instantclient.conf && \
diff --git a/backend/Dockerfile.dev.fips b/backend/Dockerfile.dev.fips
index 14feec7403..8f057138eb 100644
--- a/backend/Dockerfile.dev.fips
+++ b/backend/Dockerfile.dev.fips
@@ -64,10 +64,13 @@ RUN apt-get install -y opensc
RUN mkdir -p /opt/oracle && \
ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "arm64" ]; then \
+ EXPECTED_SHA="9c9a32051e97f087016fb334b7ad5c0aea8511ca8363afd8e0dc6ec4fc515c32" && \
curl -o /tmp/instantclient.zip https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.arm64-23.26.0.0.0.zip; \
else \
+ EXPECTED_SHA="d6c79cbcf0ff209363e779855c690d4fc730aed847e9198a2c439bcf34760af5" && \
curl -o /tmp/instantclient.zip https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip; \
fi && \
+ echo "$EXPECTED_SHA /tmp/instantclient.zip" | sha256sum -c - && \
unzip -oq /tmp/instantclient.zip -d /opt/oracle && \
rm /tmp/instantclient.zip && \
echo /opt/oracle/instantclient_23_26 > /etc/ld.so.conf.d/oracle-instantclient.conf && \