diff --git a/.github/workflows/dive.yml b/.github/workflows/dive.yml deleted file mode 100644 index 2713b449..00000000 --- a/.github/workflows/dive.yml +++ /dev/null @@ -1,52 +0,0 @@ ---- -name: docker checker - -on: - pull_request: - paths: - - '.github/workflows/dive.yml' - - 'requirements.txt' - - 'requirements-dev.txt' - - 'Dockerfile' - - push: - paths: - - '.github/workflows/dive.yml' - - 'requirements.txt' - - 'requirements-dev.txt' - - 'Dockerfile' - -env: - ORG: opendatacube - IMAGE: ows-local - -jobs: - dive: - runs-on: ubuntu-latest - name: Analyze image efficiency - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: lint - uses: luke142367/Docker-Lint-Action@v1.1.1 - with: - target: Dockerfile - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Build image - run: | - docker build -t ${ORG}/${IMAGE}:_build . - - - name: Dive - uses: yuichielectric/dive-action@0.0.3 - with: - image: ${{ env.ORG }}/${{ env.IMAGE}}:_build - config-file: ${{ github.workspace }}/dive-ci.yml - github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Docker image size check - uses: wemake-services/docker-image-size-limit@master - with: - image: ${{ env.ORG }}/${{ env.IMAGE}}:_build - size: "1.15 GiB" diff --git a/Dockerfile b/Dockerfile index a9b4b941..513bb2a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Note that this is now pinned to a fixed version. Remember to check for new versions periodically. -FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.1 as builder +FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.3 as builder # Setup build env for postgresql-client-14 USER root @@ -36,7 +36,7 @@ RUN if [ "$PYDEV_DEBUG" = "yes" ]; then \ RUN pip freeze # Should match builder base. -FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.1 +FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.3 # all the python pip installed libraries COPY --from=builder /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages