Skip to content

Commit 90bc5d5

Browse files
authored
docs: add note around offline docs provider versions (coder#6018)
1 parent a5e386e commit 90bc5d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/install/offline.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ ADD filesystem-mirror-example.tfrc /opt/terraform/config.tfrc
5555
# volume or network mirror:
5656
RUN mkdir -p /opt/terraform/plugins/registry.terraform.io
5757
WORKDIR /opt/terraform/plugins/registry.terraform.io
58-
ARG CODER_PROVIDER_VERSION=0.5.3
58+
ARG CODER_PROVIDER_VERSION=0.6.10
5959
RUN echo "Adding coder/coder v${CODER_PROVIDER_VERSION}" \
6060
&& mkdir -p coder/coder && cd coder/coder \
6161
&& curl -LOs https://github.com/coder/terraform-provider-coder/releases/download/v${CODER_PROVIDER_VERSION}/terraform-provider-coder_${CODER_PROVIDER_VERSION}_linux_amd64.zip
62-
ARG DOCKER_PROVIDER_VERSION=2.22.0
62+
ARG DOCKER_PROVIDER_VERSION=3.0.1
6363
RUN echo "Adding kreuzwerker/docker v${DOCKER_PROVIDER_VERSION}" \
6464
&& mkdir -p kreuzwerker/docker && cd kreuzwerker/docker \
6565
&& curl -LOs https://github.com/kreuzwerker/terraform-provider-docker/releases/download/v${DOCKER_PROVIDER_VERSION}/terraform-provider-docker_${DOCKER_PROVIDER_VERSION}_linux_amd64.zip
@@ -81,6 +81,9 @@ USER coder
8181
ENV TF_CLI_CONFIG_FILE=/opt/terraform/config.tfrc
8282
```
8383

84+
> If you are bundling Terraform providers into your Coder image, be sure the
85+
> provider version matches any templates or [example templates](https://github.com/coder/coder/tree/main/examples/templates) you intend to use.
86+
8487
```hcl
8588
# filesystem-mirror-example.tfrc
8689
provider_installation {

0 commit comments

Comments
 (0)