diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index fc956e9..c269ebb 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,4 +1,4 @@ -name: docker-compose-test +name: docker image test on: pull_request jobs: test: diff --git a/Dockerfile b/Dockerfile index e82df78..0f38665 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,6 @@ RUN apt-get update && apt-get -y -q upgrade && DEBIAN_FRONTEND=noninteractive ap libncurses-dev libssl-dev u-boot-tools wget \ xz-utils vim xfce4 libxml2-utils python3 python3-pip jq \ gcc clang && apt-get clean \ - pip3 install --upgrade pip && pip3 install setuptools && \ - pip3 install demjson3 && \ + pip3 install --upgrade pip && pip3 install setuptools --break-system-packages && \ + pip3 install demjson3 --break-system-packages && \ chmod +x /bin/checksec diff --git a/go.mod b/go.mod index b21fd0c..3deb593 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/slimm609/checksec -go 1.21.4 +go 1.23.1 require ( github.com/fatih/color v1.17.0 diff --git a/tests/docker-build.sh b/tests/docker-build.sh index 11cdfcd..7d84984 100755 --- a/tests/docker-build.sh +++ b/tests/docker-build.sh @@ -4,6 +4,7 @@ # if condition becomes more difficult. set -eou pipefail +set -x apt-get update apt-get -y -q upgrade @@ -20,5 +21,4 @@ fi apt-get clean -pip3 install --upgrade pip -pip3 install setuptools demjson3 +pip3 install setuptools demjson3 --break-system-packages