Skip to content

Commit

Permalink
Replace httpbin with go-httpbin (envoyproxy#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Nov 10, 2022
1 parent 747eb57 commit 66ab653
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ftw/docker-compose.yml
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:
Expand Down
2 changes: 1 addition & 1 deletion ftw/envoy-config-nowasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ static_resources:
address:
socket_address:
address: httpbin
port_value: 80
port_value: 8080
2 changes: 1 addition & 1 deletion ftw/envoy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ static_resources:
address:
socket_address:
address: httpbin
port_value: 80
port_value: 8080
10 changes: 10 additions & 0 deletions ftw/httpbin/Dockerfile
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"]

0 comments on commit 66ab653

Please sign in to comment.