Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a66b44a48a44d63acf71688c56aa168ac171d4cf # v1
uses: github/codeql-action/init@75f07e7ab2ee63cba88752d8c696324e4df67466
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand All @@ -53,4 +53,4 @@ jobs:
git clean -xdf

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@a66b44a48a44d63acf71688c56aa168ac171d4cf # v1
uses: github/codeql-action/analyze@75f07e7ab2ee63cba88752d8c696324e4df67466
4 changes: 2 additions & 2 deletions .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a66b44a48a44d63acf71688c56aa168ac171d4cf # v1
uses: github/codeql-action/init@75f07e7ab2ee63cba88752d8c696324e4df67466
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:

- name: Perform CodeQL Analysis
if: env.BUILD_TARGETS != ''
uses: github/codeql-action/analyze@a66b44a48a44d63acf71688c56aa168ac171d4cf # v1
uses: github/codeql-action/analyze@75f07e7ab2ee63cba88752d8c696324e4df67466
4 changes: 2 additions & 2 deletions examples/brotli/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM debian:buster-slim

RUN apt-get update \
&& apt-get install --no-install-recommends -y python3 python3-pip \
&& apt-get install --no-install-recommends -y python3 python3-pip python3-setuptools \
&& apt-get autoremove -y && apt-get clean \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install -q flask
RUN pip3 install -q Flask==2.0.3
RUN mkdir -p /code/data
RUN dd if=/dev/zero of="/code/data/file.txt" bs=1024 count=10240 \
&& dd if=/dev/zero of="/code/data/file.json" bs=1024 count=10240
Expand Down
2 changes: 1 addition & 1 deletion examples/cache/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk add py3-pip
RUN pip3 install -q Flask==0.11.1 pyyaml
RUN pip3 install -q Flask==2.0.3 pyyaml
RUN mkdir /code
COPY ./service.py /code
CMD ["python3", "/code/service.py"]
2 changes: 1 addition & 1 deletion examples/cors/backend/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk add py3-pip
RUN pip3 install -q Flask==0.11.1
RUN pip3 install -q Flask==2.0.3
RUN mkdir /code
ADD ./service.py /code/

Expand Down
2 changes: 1 addition & 1 deletion examples/cors/frontend/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk add py3-pip
RUN pip3 install -q Flask==0.11.1
RUN pip3 install -q Flask==2.0.3
RUN mkdir /code
ADD ./service.py ./index.html /code/

Expand Down
2 changes: 1 addition & 1 deletion examples/csrf/crosssite/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk add py3-pip
RUN pip3 install -q Flask==0.11.1
RUN pip3 install -q Flask==2.0.3
RUN mkdir /code
ADD ./crosssite/service.py ./index.html /code/
CMD ["python3", "/code/service.py"]
2 changes: 1 addition & 1 deletion examples/csrf/samesite/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk add py3-pip
RUN pip3 install -q Flask==0.11.1
RUN pip3 install -q Flask==2.0.3
RUN mkdir /code
ADD ./samesite/service.py ./index.html /code/
CMD ["python3", "/code/service.py"]
2 changes: 1 addition & 1 deletion examples/double-proxy/Dockerfile-app
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.8-alpine

RUN apk update && apk add postgresql-dev gcc python3-dev musl-dev
RUN pip3 install -q Flask==0.11.1 requests==2.18.4 psycopg2-binary
RUN pip3 install -q Flask==2.0.3 requests==2.18.4 psycopg2-binary
RUN mkdir /code
ADD ./service.py /code
ENTRYPOINT ["python3", "/code/service.py"]
2 changes: 1 addition & 1 deletion examples/ext_authz/upstream/service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3-alpine

RUN pip3 install -q Flask==0.11.1
RUN pip3 install -q Flask==2.0.3
COPY . ./app
CMD ["python3", "/app/service/server.py"]
6 changes: 3 additions & 3 deletions examples/front-proxy/Dockerfile-jaeger-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM envoyproxy/envoy-alpine-dev:latest
FROM envoyproxy/envoy-dev:latest

RUN apk update && apk add py3-pip bash curl
RUN pip3 install -q Flask==0.11.1 requests==2.18.4
RUN apt-get update && apt-get -q install --no-install-recommends -y python3-pip curl
RUN pip3 install -q Flask==2.0.3 requests==2.18.4
RUN mkdir /code
ADD ./service.py /code
ADD ./start_service.sh /usr/local/bin/start_service.sh
Expand Down
6 changes: 3 additions & 3 deletions examples/front-proxy/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM envoyproxy/envoy-alpine-dev:latest
FROM envoyproxy/envoy-dev:latest

RUN apk update && apk add py3-pip bash curl
RUN pip3 install -q Flask==0.11.1 requests==2.18.4
RUN apt-get update && apt-get -q install --no-install-recommends -y python3-pip curl
RUN pip3 install -q Flask==2.0.3 requests==2.18.4
RUN mkdir /code
ADD ./service.py /code
ADD ./start_service.sh /usr/local/bin/start_service.sh
Expand Down
4 changes: 2 additions & 2 deletions examples/gzip/Dockerfile-service
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM debian:buster-slim

RUN apt-get update \
&& apt-get install --no-install-recommends -y python3 python3-pip \
&& apt-get install --no-install-recommends -y python3 python3-pip python3-setuptools \
&& apt-get autoremove -y && apt-get clean \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install -q flask
RUN pip3 install -q Flask==2.0.3
RUN mkdir -p /code/data
RUN dd if=/dev/zero of="/code/data/file.txt" bs=1024 count=10240 \
&& dd if=/dev/zero of="/code/data/file.json" bs=1024 count=10240
Expand Down
2 changes: 1 addition & 1 deletion examples/load-reporting-service/Dockerfile-http-server
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk add py3-pip
RUN pip3 install -q Flask==0.11.1
RUN pip3 install -q Flask==2.0.3
RUN mkdir /code
COPY ./service.py ./code

Expand Down
2 changes: 1 addition & 1 deletion examples/win32-front-proxy/Dockerfile-service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM envoyproxy/envoy-windows-dev:latest
COPY ./setup_python.ps1 /

RUN powershell.exe .\\setup_python.ps1
RUN pip3 install -q Flask==0.11.1 requests==2.18.4
RUN pip3 install -q Flask==2.0.3 requests==2.18.4

RUN powershell mkdir code
ADD ./service.py ./code
Expand Down