Skip to content

Commit cb15fa5

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

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@ jobs:
2525
- name: Set up Docker Buildx
2626
uses: docker/setup-buildx-action@v3
2727

28+
- name: Cache Docker layers
29+
uses: actions/cache@v4
30+
with:
31+
path: /tmp/.buildx-cache
32+
key: ${{ runner.os }}-buildx-${{ github.sha }}
33+
restore-keys: |
34+
${{ runner.os }}-buildx-
35+
2836
- name: Run all scenario tests
2937
working-directory: table-topic-solutions/playground
3038
run: just test-all
31-
timeout-minutes: 900
3239

3340
- name: Cleanup
3441
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)