Remove user nonsense
This commit is contained in:
parent
5020b2f2ed
commit
e856d8c104
2 changed files with 3 additions and 3 deletions
4
.github/workflows/mitm-proxy.yml
vendored
4
.github/workflows/mitm-proxy.yml
vendored
|
|
@ -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) }}
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue