Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Jan 22, 2025
1 parent bc1308a commit 6b1d3a8
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 20 deletions.
22 changes: 11 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,41 +134,41 @@ default:
- *script-git-submodule
- *script-linters

build:mitmproxy-11.1-docker:
build:mitmproxy-11.0-docker:
<<: *job-packer-build
stage: build
cache:
key: $CI_PIPELINE_ID-mitmproxy-11.1-docker
key: $CI_PIPELINE_ID-mitmproxy-11.0-docker
paths:
- packer/*/output-docker
variables:
_IMAGE: mitmproxy-11.1
_IMAGE: mitmproxy-11.0
_PROVIDER: docker

test:mitmproxy-11.1-docker:
test:mitmproxy-11.0-docker:
<<: *job-molecule-test
stage: test
cache:
key: $CI_PIPELINE_ID-mitmproxy-11.1-docker
key: $CI_PIPELINE_ID-mitmproxy-11.0-docker
paths:
- packer/*/output-docker
policy: pull
variables:
_IMAGE: mitmproxy-11.1
_IMAGE: mitmproxy-11.0
_PROVIDER: docker
needs:
- build:mitmproxy-11.1-docker
- build:mitmproxy-11.0-docker

deploy:mitmproxy-11.1-docker:
deploy:mitmproxy-11.0-docker:
<<: *job-docker-push
stage: deploy
cache:
key: $CI_PIPELINE_ID-mitmproxy-11.1-docker
key: $CI_PIPELINE_ID-mitmproxy-11.0-docker
paths:
- packer/*/output-docker
policy: pull
variables:
_IMAGE: mitmproxy-11.1
_IMAGE: mitmproxy-11.0
_PROVIDER: docker
needs:
- test:mitmproxy-11.1-docker
- test:mitmproxy-11.0-docker
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tag](https://img.shields.io/github/tag/alvistack/docker-mitmproxy.svg)](https://
[![GitHub
license](https://img.shields.io/github/license/alvistack/docker-mitmproxy.svg)](https://github.com/alvistack/docker-mitmproxy/blob/master/LICENSE)
[![Docker
Pulls](https://img.shields.io/docker/pulls/alvistack/mitmproxy-11.1.svg)](https://hub.docker.com/r/alvistack/mitmproxy-11.1)
Pulls](https://img.shields.io/docker/pulls/alvistack/mitmproxy-11.0.svg)](https://hub.docker.com/r/alvistack/mitmproxy-11.0)

mitmproxy is an interactive man-in-the-middle proxy for HTTP and HTTPS
with a console interface.
Expand All @@ -18,8 +18,8 @@ Learn more about mitmproxy: <https://docs.mitmproxy.org/>

## Supported Tags and Respective Packer Template Links

- [`alvistack/mitmproxy-11.1`](https://hub.docker.com/r/alvistack/mitmproxy-11.1)
- [`packer/docker-11.1/packer.json`](https://github.com/alvistack/docker-mitmproxy/blob/master/packer/docker-11.1/packer.json)
- [`alvistack/mitmproxy-11.0`](https://hub.docker.com/r/alvistack/mitmproxy-11.0)
- [`packer/docker-11.0/packer.json`](https://github.com/alvistack/docker-mitmproxy/blob/master/packer/docker-11.0/packer.json)

## Overview

Expand All @@ -39,14 +39,14 @@ Image](https://hub.docker.com/_/ubuntu/) with some minor hack:
Start mitmproxy:

# Pull latest image
docker pull alvistack/mitmproxy-11.1
docker pull alvistack/mitmproxy-11.0

# Run as detach
docker run \
-itd \
--name mitmproxy \
--publish 8080:8080 \
alvistack/mitmproxy-11.1
alvistack/mitmproxy-11.0

**Success**. mitmproxy is now available on port `8080`.

Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Vagrant.configure("2") do |config|
config.vm.provider :docker do |docker, override|
docker.image = "alvistack/mitmproxy-11.1"
docker.image = "alvistack/mitmproxy-11.0"
docker.pull = true

override.vm.synced_folder "./", "/vagrant"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

mitmproxy_release: "11.1"
mitmproxy_release: "11.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

mitmproxy_release: "11.1"
mitmproxy_release: "11.0"
File renamed without changes.
File renamed without changes.

0 comments on commit 6b1d3a8

Please sign in to comment.