mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
Merge pull request #3327 from Kriechi/docker-notice
add docker security warning
This commit is contained in:
commit
4be387d654
@ -312,7 +312,7 @@ def build_docker_image(be: BuildEnviron, whl: str): # pragma: no cover
|
||||
"--tag", be.docker_tag,
|
||||
"--build-arg", "WHEEL_MITMPROXY={}".format(whl),
|
||||
"--build-arg", "WHEEL_BASENAME_MITMPROXY={}".format(os.path.basename(whl)),
|
||||
"--file", "docker/Dockerfile",
|
||||
"--file", "release/docker/Dockerfile",
|
||||
"."
|
||||
])
|
||||
subprocess.check_call([
|
||||
@ -321,7 +321,7 @@ def build_docker_image(be: BuildEnviron, whl: str): # pragma: no cover
|
||||
"--tag", be.docker_tag + "-ARMv7",
|
||||
"--build-arg", "WHEEL_MITMPROXY={}".format(whl),
|
||||
"--build-arg", "WHEEL_BASENAME_MITMPROXY={}".format(os.path.basename(whl)),
|
||||
"--file", "docker/DockerfileARMv7",
|
||||
"--file", "release/docker/DockerfileARMv7",
|
||||
"."
|
||||
])
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
@ -33,7 +33,7 @@ RUN addgroup -S mitmproxy && adduser -S -G mitmproxy mitmproxy \
|
||||
|
||||
VOLUME /home/mitmproxy/.mitmproxy
|
||||
|
||||
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
||||
COPY release/docker/docker-entrypoint.sh /usr/local/bin/
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 8080 8081
|
@ -37,7 +37,7 @@ RUN [ "cross-build-end" ]
|
||||
|
||||
VOLUME /home/mitmproxy/.mitmproxy
|
||||
|
||||
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
||||
COPY release/docker/docker-entrypoint.sh /usr/local/bin/
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 8080 8081
|
@ -35,4 +35,17 @@ For further details, please consult the mitmproxy [documentation](http://docs.mi
|
||||
|
||||
# Tags
|
||||
|
||||
The available release tags can be seen [here](https://hub.docker.com/r/mitmproxy/mitmproxy/tags/).
|
||||
The available release tags can be seen
|
||||
[here](https://hub.docker.com/r/mitmproxy/mitmproxy/tags/).
|
||||
|
||||
* `master` always tracks the git-master branch and represents the unstable development tree.
|
||||
* `latest` always points to the same image as the most recent stable release, including bugfix releases (e.g., `4.0.0` and `4.0.1`).
|
||||
* `X.Y.Z` tags contain the mitmproxy release with this version number.
|
||||
* `*-ARMv7` are images built for Raspbian / Raspberry Pi systems.
|
||||
|
||||
# Security Notice
|
||||
|
||||
Dependencies in the Docker images are frozen on release, and can’t be updated in
|
||||
situ. This means that we necessarily capture any bugs or security issues that
|
||||
may be present. We don’t generally release new Docker images simply to update
|
||||
dependencies (though we may do so if we become aware of a really serious issue).
|
Loading…
Reference in New Issue
Block a user