Skip to content

Commit 37f05df

Browse files
committed
clarify docker build instructions
1 parent 2564a29 commit 37f05df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ It is also possible to pass a parameter file:
168168
SNB Datagen images are available via [Docker Hub](https://hub.docker.com/orgs/ldbc/repositories).
169169
The image tags follow the pattern `${DATAGEN_VERSION}-${PLATFORM_VERSION}`, e.g `ldbc/datagen-standalone:0.5.0-2.12_spark3.1`.
170170

171+
When building images ensure that you [use BuildKit](https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds).
172+
171173
#### Standalone Docker image
172174

173175
The standalone image bundles Spark with the JAR and Python helpers, so you can run a workload in a container similarly to a local run, as you can
@@ -184,7 +186,7 @@ docker run \
184186
The standalone Docker image can be built with the provided Dockerfile. To build, execute the following command from the repository directory:
185187

186188
```bash
187-
docker buildx build . --target=standalone -t ldbc/datagen-standalone:latest
189+
docker build . --target=standalone -t ldbc/datagen-standalone:latest
188190
```
189191

190192
#### JAR-only image
@@ -198,7 +200,7 @@ COPY --from=ldbc/datagen-jar:latest /jar /lib/ldbc-datagen.jar
198200
The JAR-only Docker image can be built with the provided Dockerfile. To build, execute the following command from the repository directory:
199201

200202
```bash
201-
docker buildx build . --target=jar -t ldbc/datagen-jar:latest
203+
docker build . --target=jar -t ldbc/datagen-jar:latest
202204
```
203205
### Elastic MapReduce
204206

0 commit comments

Comments
 (0)