Fix docker build command in README

This commit is contained in:
Nathan Wang 2024-11-23 15:07:44 -08:00 committed by GitHub
parent 3d81fa4e4e
commit 5fe2a8eef1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -290,7 +290,7 @@ Dockerfiles are provided in the `docker/` directory.
To build the image, run the following commands:
# 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,
the option is used to pass a version string to Elixir.