Update README.md

pull/5/head
Ximo Guanter 3 years ago committed by GitHub
parent 9184475e68
commit 4e91d2e512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,10 +12,8 @@ Currently, the project adds an `INCLUDE+` Dockerfile directive that allows you t
## Getting started
First, you need to make sure you are running a compatible version of Docker:
- if you are using Docker 20.10+, you're all set!
- if you are using Docker 18.09+, then you need to export the following environment variable: `DOCKER_BUILDKIT=1`
- if you are using an older version of Docker, you are out of luck. Sorry!
- First, you need to make sure you are running a compatible version of Docker: you need at least Docker 18.09. If you are using an older version, you are out of luck. Sorry!
- Export the following environment variables to enable Buildkit: `DOCKER_BUILDKIT=1` and `COMPOSE_DOCKER_CLI_BUILD=1` (this might not be necessary for newer installations of Docker)
Once your Docker is set, you just need to add the following line as your first line in your Dockerfile:
@ -79,4 +77,4 @@ $ cargo build
```bash
$ docker build -f dockerfile-plus/Dockerfile .
```
```

Loading…
Cancel
Save