Fix docker build command in README
This commit is contained in:
parent
3d81fa4e4e
commit
5fe2a8eef1
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ Dockerfiles are provided in the `docker/` directory.
|
||||||
To build the image, run the following commands:
|
To build the image, run the following commands:
|
||||||
|
|
||||||
# git clone https://github.com/bootlin/elixir.git ./elixir
|
# git clone https://github.com/bootlin/elixir.git ./elixir
|
||||||
# docker build -t elixir --build-arg ELIXIR_VERSION=`git rev-parse --short HEAD` ./elixir/Dockerfile ./elixir
|
# docker build -t elixir --build-arg ELIXIR_VERSION=`git rev-parse --short HEAD` -f ./elixir/docker/Dockerfile ./elixir
|
||||||
|
|
||||||
ELIXIR_VER build argument is optional. Since .git directory is not copied into Docker image by default,
|
ELIXIR_VER build argument is optional. Since .git directory is not copied into Docker image by default,
|
||||||
the option is used to pass a version string to Elixir.
|
the option is used to pass a version string to Elixir.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue