From b84d9dd5d2c9656b70c5a86ccfeb2a60d0f95e90 Mon Sep 17 00:00:00 2001 From: james Hart Date: Wed, 24 Jul 2024 13:06:21 +0100 Subject: [PATCH] remove sudo from the action --- .github/workflows/bootstrap-actions.yml | 2 -- Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bootstrap-actions.yml b/.github/workflows/bootstrap-actions.yml index 88a8827..3fff4f3 100644 --- a/.github/workflows/bootstrap-actions.yml +++ b/.github/workflows/bootstrap-actions.yml @@ -44,8 +44,6 @@ jobs: runs-on: [self-hosted, hmpps-github-actions-runner] steps: - run: echo "Running ${{ github.event.inputs.options }} component ${{ github.event.inputs.component }}" - - name: Install jq - run: sudo apt-get install -y jq httpie - name: Checkout code uses: actions/checkout@v4 - id: get_sc_data diff --git a/Dockerfile b/Dockerfile index d77a2de..29b394f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,8 @@ apt-get install --yes --no-install-recommends \ "lsb-release=12.0-2" \ "gcc=4:13.2.0-7ubuntu1" \ "libsqlite3-dev=3.45.1-1ubuntu2" \ - "python3" + "python3" \ + "httpie" apt-get clean