Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bed9a2

Browse files
docs: update versions in offline installation docs (#16808)
[preview](https://coder.com/docs/@matifali-patch-1/install/offline)---------Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
1 parentf5aac64 commit9bed9a2

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

‎docs/install/offline.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN mkdir -p /opt/terraform
5454
# The below step is optional if you wish to keep the existing version.
5555
# See https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24
5656
# for supported Terraform versions.
57-
ARG TERRAFORM_VERSION=1.10.5
57+
ARG TERRAFORM_VERSION=1.11.0
5858
RUN apk update && \
5959
apk del terraform && \
6060
curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
@@ -79,19 +79,19 @@ ADD filesystem-mirror-example.tfrc /home/coder/.terraformrc
7979
# Optionally, we can "seed" the filesystem mirror with common providers.
8080
# Comment out lines 40-49 if you plan on only using a volume or network mirror:
8181
WORKDIR /home/coder/.terraform.d/plugins/registry.terraform.io
82-
ARG CODER_PROVIDER_VERSION=1.0.1
82+
ARG CODER_PROVIDER_VERSION=2.2.0
8383
RUN echo"Adding coder/coder v${CODER_PROVIDER_VERSION}" \
8484
&& mkdir -p coder/coder && cd coder/coder \
8585
&& curl -LOs https://github.com/coder/terraform-provider-coder/releases/download/v${CODER_PROVIDER_VERSION}/terraform-provider-coder_${CODER_PROVIDER_VERSION}_linux_amd64.zip
8686
ARG DOCKER_PROVIDER_VERSION=3.0.2
8787
RUN echo"Adding kreuzwerker/docker v${DOCKER_PROVIDER_VERSION}" \
8888
&& mkdir -p kreuzwerker/docker && cd kreuzwerker/docker \
8989
&& curl -LOs https://github.com/kreuzwerker/terraform-provider-docker/releases/download/v${DOCKER_PROVIDER_VERSION}/terraform-provider-docker_${DOCKER_PROVIDER_VERSION}_linux_amd64.zip
90-
ARG KUBERNETES_PROVIDER_VERSION=2.23.0
90+
ARG KUBERNETES_PROVIDER_VERSION=2.36.0
9191
RUN echo"Adding kubernetes/kubernetes v${KUBERNETES_PROVIDER_VERSION}" \
9292
&& mkdir -p hashicorp/kubernetes && cd hashicorp/kubernetes \
9393
&& curl -LOs https://releases.hashicorp.com/terraform-provider-kubernetes/${KUBERNETES_PROVIDER_VERSION}/terraform-provider-kubernetes_${KUBERNETES_PROVIDER_VERSION}_linux_amd64.zip
94-
ARG AWS_PROVIDER_VERSION=5.19.0
94+
ARG AWS_PROVIDER_VERSION=5.89.0
9595
RUN echo"Adding aws/aws v${AWS_PROVIDER_VERSION}" \
9696
&& mkdir -p aws/aws && cd aws/aws \
9797
&& curl -LOs https://releases.hashicorp.com/terraform-provider-aws/${AWS_PROVIDER_VERSION}/terraform-provider-aws_${AWS_PROVIDER_VERSION}_linux_amd64.zip
@@ -135,7 +135,9 @@ provider_installation {
135135
}
136136
```
137137

138-
##Run offline via Docker
138+
<divclass="tabs">
139+
140+
###Docker
139141

140142
Follow our[docker-compose](./docker.md#install-coder-via-docker-compose)
141143
documentation and modify the docker-compose file to specify your custom Coder
@@ -144,19 +146,18 @@ filesystem mirror without re-building the image.
144146

145147
First, create an empty plugins directory:
146148

147-
```console
149+
```shell
148150
mkdir$HOME/plugins
149151
```
150152

151-
Next, add a volume mount todocker-compose.yaml:
153+
Next, add a volume mount to compose.yaml:
152154

153-
```console
154-
vimdocker-compose.yaml
155+
```shell
156+
vim compose.yaml
155157
```
156158

157159
```yaml
158-
# docker-compose.yaml
159-
version:"3.9"
160+
# compose.yaml
160161
services:
161162
coder:
162163
image:registry.example.com/coder:latest
@@ -169,7 +170,7 @@ services:
169170
CODER_DERP_SERVER_STUN_ADDRESSES:"disable"# Only use relayed connections
170171
CODER_UPDATE_CHECK:"false"# Disable automatic update checks
171172
database:
172-
image:registry.example.com/postgres:13
173+
image:registry.example.com/postgres:17
173174
# ...
174175
```
175176

@@ -178,7 +179,7 @@ services:
178179
>command can be used to download the required plugins for a Coder template.
179180
>This can be uploaded into the`plugins` directory on your offline server.
180181
181-
##Run offline via Kubernetes
182+
###Kubernetes
182183

183184
We publish the Helm chart for download on
184185
[GitHub Releases](https://github.com/coder/coder/releases/latest). Follow our
@@ -210,6 +211,8 @@ coder:
210211
# ...
211212
```
212213

214+
</div>
215+
213216
##Offline docs
214217

215218
Coder also provides offline documentation in case you want to host it on your

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp