Skip to content

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

fix outdated cli instructions

Maidul Islamfc6778dd89b3
diff --git a/docs/integrations/platforms/docker.mdx b/docs/integrations/platforms/docker.mdx
index 8e429461a2..7b46e8495d 100644
--- a/docs/integrations/platforms/docker.mdx
+++ b/docs/integrations/platforms/docker.mdx
@@ -6,32 +6,10 @@ description: "Learn how to use Infisical to inject environment variables into a
This approach allows you to inject secrets from Infisical directly into your application.
This is achieved by installing the Infisical CLI into your docker image and modifying your start command to execute with Infisical.
-## Add the Infisical CLI to your Dockerfile
+## Install the Infisical CLI to your Dockerfile
+
+To install the CLI, follow the instructions for your chosen distribution [here](/cli/overview).
-<Tabs>
- <Tab title="Alpine">
- ```dockerfile
- RUN apk add --no-cache bash curl && curl -1sLf \
- 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
- && apk add infisical
- ```
-
- </Tab>
- <Tab title="RedHat/CentOs/Amazon-linux">
- ```dockerfile
- RUN curl -1sLf \
- 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sh \
- && yum install -y infisical
- ```
- </Tab>
- <Tab title="Debian/Ubuntu">
- ```dockerfile
- RUN apt-get update && apt-get install -y bash curl && curl -1sLf \
- 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash \
- && apt-get update && apt-get install -y infisical
- ```
- </Tab>
-</Tabs>
####
<Tip>
We recommend you to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://cloudsmith.io/~infisical/repos/infisical-cli/packages/)