forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace httpbin with go-httpbin (envoyproxy#77)
- Loading branch information
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
services: | ||
httpbin: | ||
image: kennethreitz/httpbin:latest | ||
build: httpbin | ||
chown: | ||
image: alpine:3.16 | ||
command: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ static_resources: | |
address: | ||
socket_address: | ||
address: httpbin | ||
port_value: 80 | ||
port_value: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,4 +66,4 @@ static_resources: | |
address: | ||
socket_address: | ||
address: httpbin | ||
port_value: 80 | ||
port_value: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright The OWASP Coraza contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# TODO(anuraaga): Remove this Dockerfile once a new version of the official image is released | ||
FROM golang:1.19-alpine | ||
|
||
# https://github.com/mccutchen/go-httpbin/pull/89 | ||
RUN go install github.com/anuraaga/go-httpbin/v2/cmd/go-httpbin@b16c71528bc1cf626f122fc528652e435ce20b85 | ||
|
||
CMD ["go-httpbin"] |