Skip to content

Commit ffdfbc2

Browse files
committed
nit
1 parent 6687a5e commit ffdfbc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

website/docs/quickstart/flink.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ cd fluss-quickstart-flink
3636
2. Create a Dockerfile named `fluss.Dockerfile` as follows. You can adjust the Flink version as needed. Please make sure to download the compatible versions of [fluss-flink connector jar](/downloads), [flink-connector-faker](https://github.com/knaufk/flink-faker/releases) in the Dockerfile.
3737

3838
```Dockerfile
39-
FROM flink:1.20.2-scala_2.12
39+
ARG FLINK_VERSION="1.20"
40+
FROM flink:${FLINK_VERSION}
41+
ARG FLINK_VERSION
4042
RUN wget -P /opt/flink/lib https://github.com/knaufk/flink-faker/releases/download/v0.5.3/flink-faker-0.5.3.jar
41-
RUN wget -P /opt/flink/lib https://repo1.maven.org/maven2/org/apache/fluss/fluss-flink-1.20/0.8.0-incubating/fluss-flink-1.20-0.8.0-incubating.jar
43+
RUN wget -P /opt/flink/lib https://repo1.maven.org/maven2/org/apache/fluss/fluss-flink-${FLINK_VERSION}/$FLUSS_DOCKER_VERSION$/fluss-flink-${FLINK_VERSION}-$FLUSS_DOCKER_VERSION$.jar
4244
```
4345

4446
3. Create a `docker-compose.yml` file with the following content:

0 commit comments

Comments
 (0)