Skip to content

Commit f8fbf7b

Browse files
committed
fix: improve Dockerfile syntax for package installation and cleanup
1 parent 7f27527 commit f8fbf7b

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/table-topic-playground-test.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,27 @@ jobs:
2222
- name: Install Just
2323
uses: extractions/setup-just@v2
2424

25+
- name: Set up JDK 17
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
29+
java-version: '17'
30+
cache: 'maven'
31+
2532
- name: Set up Docker Buildx
2633
uses: docker/setup-buildx-action@v3
2734

35+
- name: Cache Docker layers
36+
uses: actions/cache@v4
37+
with:
38+
path: /tmp/.buildx-cache
39+
key: ${{ runner.os }}-buildx-${{ github.sha }}
40+
restore-keys: |
41+
${{ runner.os }}-buildx-
42+
2843
- name: Run all scenario tests
2944
working-directory: table-topic-solutions/playground
3045
run: just test-all
31-
timeout-minutes: 900
3246

3347
- name: Cleanup
3448
if: always()

table-topic-solutions/playground/tools/kafka-client/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USER root
66
RUN microdnf update -y && microdnf install -y \
77
maven \
88
gcc-c++ \
9-
python3-devel && \
10-
microdnf clean all
9+
python3-devel \
10+
&& microdnf clean all
1111

1212
RUN pip3 install --user grpcio-tools
1313

0 commit comments

Comments
 (0)