From 5d611ad6d20e4311bc7620d3616139d245965b17 Mon Sep 17 00:00:00 2001 From: peefy Date: Thu, 15 Aug 2024 17:33:51 +0800 Subject: [PATCH] ci: add image e2e tests Signed-off-by: peefy --- .github/workflows/image-e2e-tests.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image-e2e-tests.yaml b/.github/workflows/image-e2e-tests.yaml index 80c90e5..a94a93e 100644 --- a/.github/workflows/image-e2e-tests.yaml +++ b/.github/workflows/image-e2e-tests.yaml @@ -23,7 +23,7 @@ jobs: with: go-version-file: go.mod - name: Install dependencies - run: apt-get install make + run: apt-get install build-essential - name: Example tests run: ./examples/test.sh - name: Run concurrent e2e tests diff --git a/Dockerfile b/Dockerfile index c9a5af5..7456217 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ARG TARGETARCH COPY --from=build /src/bin/kcl /usr/local/bin/kcl RUN /usr/local/bin/kcl RUN cp -r /root/go/bin/* /usr/local/bin/ -RUN apt-get update && apt-get install gcc make git -y && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install gcc build-essential git -y && rm -rf /var/lib/apt/lists/* # The reason for doing this below is to prevent the # container from not having write permissions. ENV KCL_PKG_PATH=/tmp