Skip to content

Commit

Permalink
Set default listening port to 80
Browse files Browse the repository at this point in the history
The v1.10.1 of this image listens on port 80. v1.10.2 makes the port
configurable but listens on port 8080 by default. Since most Cilium tests
using that image are testing port 80, we should keep that as the default
to ease the image update.

Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno authored Sep 6, 2021
1 parent fff86ca commit 9fd47ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM k8s.gcr.io/echoserver:1.10
RUN sed -i 's/listen 8080/listen [::]:PORT ipv6only=off/g' /etc/nginx/nginx.conf
ENV PORT 8080
ENV PORT 80
ENTRYPOINT sed -i "s/PORT/${PORT}/g" /etc/nginx/nginx.conf && /usr/local/bin/run.sh

0 comments on commit 9fd47ad

Please sign in to comment.