Skip to content

Commit b45c324

Browse files
authored
Update repository.mdx (#4877)
Dot missing at the end of the docker build command
1 parent 529a97e commit b45c324

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/docs/guides/repository.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ This guide makes the assumption that you have saved the CA certificate file as `
305305
Next we will have to create a Dockerfile. The file should be saved as `Dockerfile` in the same directory as the directory containing the CA certificate you want to install.
306306

307307
```dockerfile
308-
ARG INFRAHUB_VERSION=0.16.0
308+
ARG INFRAHUB_VERSION=latest
309309
FROM registry.opsmill.io/opsmill/infrahub:${INFRAHUB_VERSION}
310310

311311
COPY mycacertificate.crt /usr/local/share/ca-certificates/
@@ -315,18 +315,18 @@ RUN update-ca-certificates
315315
We then have to build a Docker image from the Dockerfile. We can do this by executing this command
316316

317317
```shell
318-
INFRAHUB_VERSION=0.16.0 && docker build --build-arg INFRAHUB_VERSION=$INFRAHUB_VERSION -f Dockerfile -t custom/infrahub:${INFRAHUB_VERSION}
318+
INFRAHUB_VERSION=latest && docker build --build-arg INFRAHUB_VERSION=$INFRAHUB_VERSION -f Dockerfile -t custom/infrahub:${INFRAHUB_VERSION} .
319319
```
320320

321-
This will build a custom docker image and tag it as `custom/infrahub:0.16.0`. You can change the version by changing the version we set in the `INFRAHUB_VERSION` shell variable and you can change the tag to you own preference.
321+
This will build a custom docker image and tag it as `custom/infrahub:latest`. You can change the version by changing the version we set in the `INFRAHUB_VERSION` shell variable and you can change the tag to you own preference.
322322

323323
As a last step we have to create a `docker-compose.override.yml` file with the following contents in the `development` directory of your clone of the Infrahub repository.
324324

325325
```yaml
326326
---
327327
services:
328328
task-worker:
329-
image: custom/infrahub:0.16.0
329+
image: custom/infrahub:latest
330330
```
331331
332332
A development environment can then be spun up with `invoke demo.start` command as, explained in the [Installing Infrahub guide](/guides/installation).
@@ -350,7 +350,7 @@ In this process we will have to build a custom docker image. This docker image w
350350
We will have to create a Dockerfile, that should be saved as `Dockerfile` on your local filesystem.
351351

352352
```dockerfile
353-
ARG INFRAHUB_VERSION=0.16.0
353+
ARG INFRAHUB_VERSION=latest
354354
FROM registry.opsmill.io/opsmill/infrahub:${INFRAHUB_VERSION}
355355
356356
RUN git config --global http.sslVerify "false"
@@ -359,18 +359,18 @@ RUN git config --global http.sslVerify "false"
359359
We then have to build a Docker image from the Dockerfile. We can do this by executing this command
360360

361361
```shell
362-
INFRAHUB_VERSION=0.16.0 && docker build --build-arg INFRAHUB_VERSION=$INFRAHUB_VERSION -f Dockerfile -t custom/infrahub:${INFRAHUB_VERSION}
362+
INFRAHUB_VERSION=latest && docker build --build-arg INFRAHUB_VERSION=$INFRAHUB_VERSION -f Dockerfile -t custom/infrahub:${INFRAHUB_VERSION} .
363363
```
364364

365-
This will build a custom docker image and tag it as `custom/infrahub:0.16.0`. You can change the version by changing the version we set in the `INFRAHUB_VERSION` shell variable and you can change the tag to you own preference.
365+
This will build a custom docker image and tag it as `custom/infrahub:latest`. You can change the version by changing the version we set in the `INFRAHUB_VERSION` shell variable and you can change the tag to you own preference.
366366

367367
As a last step we have to create a `docker-compose.override.yml` file with the following contents in the `development` directory of your clone of the Infrahub repository.
368368

369369
```yaml
370370
---
371371
services:
372372
task-worker:
373-
image: custom/infrahub:0.16.0
373+
image: custom/infrahub:latest
374374
```
375375

376376
A development environment can then be spun up with `invoke demo.start` command as, explained in the [Installing Infrahub guide](/guides/installation).
@@ -394,7 +394,7 @@ In this process we will have to build a custom docker image. This docker image w
394394
We will have to create a Dockerfile, that should be saved as `Dockerfile` on your local filesystem. In the Dockerfile you will have to adapt the URL for the proxy to your environment. Replace `user:password` with the username and password you have to use for the proxy, if required. Replace the FQDN `internal.proxy` to the FQDN of the proxy and modify the port, if required.
395395

396396
```dockerfile
397-
ARG INFRAHUB_VERSION=0.16.0
397+
ARG INFRAHUB_VERSION=latest
398398
FROM registry.opsmill.io/opsmill/infrahub:${INFRAHUB_VERSION}
399399
400400
RUN git config --global http.proxy http://user:[email protected]:8080
@@ -403,18 +403,18 @@ RUN git config --global http.proxy http://user:[email protected]:8080
403403
We then have to build a Docker image from the Dockerfile. We can do this by executing this command
404404

405405
```shell
406-
INFRAHUB_VERSION=0.16.0 && docker build --build-arg INFRAHUB_VERSION=$INFRAHUB_VERSION -f Dockerfile -t custom/infrahub:${INFRAHUB_VERSION}
406+
INFRAHUB_VERSION=latest && docker build --build-arg INFRAHUB_VERSION=$INFRAHUB_VERSION -f Dockerfile -t custom/infrahub:${INFRAHUB_VERSION} .
407407
```
408408

409-
This will build a custom docker image and tag it as `custom/infrahub:0.16.0`. You can change the version by changing the version we set in the `INFRAHUB_VERSION` shell variable and you can change the tag to you own preference.
409+
This will build a custom docker image and tag it as `custom/infrahub:latest`. You can change the version by changing the version we set in the `INFRAHUB_VERSION` shell variable and you can change the tag to you own preference.
410410

411411
As a last step we have to create a `docker-compose.override.yml` file with the following contents in the `development` directory of your clone of the Infrahub repository.
412412

413413
```yaml
414414
---
415415
services:
416416
task-worker:
417-
image: custom/infrahub:0.16.0
417+
image: custom/infrahub:latest
418418
```
419419

420420
A development environment can then be spun up with `invoke demo.start` command as, explained in the [Installing Infrahub guide](/guides/installation).

0 commit comments

Comments
 (0)