Remove user nonsense

This commit is contained in:
Greyscale 2024-02-13 11:09:10 +01:00
parent 5020b2f2ed
commit e856d8c104
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
name: Build mitmproxy
name: MITMproxy w/Healthcheck
permissions:
contents: read
@ -94,7 +94,7 @@ jobs:
BUILD_DATE=${{ github.event.repository.pushed_at }}
platforms: ${{ (!env.ACT && !(startsWith('6.',matrix.mitmproxy) || startsWith('5.', matrix.mitmproxy))) && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
pull: true
push: ${{ env.should_push && !env.ACT }}
push: ${{ env.should_push }}
tags: |
${{ format('benzine/mitmproxy:{0}', matrix.mitmproxy) }}
${{ env.should_push && format('ghcr.io/benzine-framework/mitmproxy:{0}', matrix.mitmproxy) }}

View file

@ -1,3 +1,4 @@
# checkov:skip=CKV_DOCKER_3
FROM mitmproxy:version
ARG BUILD_DATE
ARG GIT_SHA
@ -36,7 +37,6 @@ RUN os=$(grep "^ID=" < /etc/os-release | cut -f2 -d'=') && \
exit 1; \
fi
USER mitmproxy
# Add healthcheck
HEALTHCHECK --interval=30s --timeout=3s \