Skip to content

Commit

Permalink
ossf: pin docker versions (#1056)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored Jan 3, 2024
1 parent b5a3807 commit 363f557
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
version: 2
updates:
- package-ecosystem: docker
directory: /ci/docker
schedule:
interval: daily
- package-ecosystem: docker
directory: /benchmarks/docker
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

*A L7 (HTTP/HTTPS/HTTP2) performance characterization tool*

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/envoyproxy/nighthawk/badge)](https://api.securityscorecards.dev/projects/github.com/envoyproxy/nighthawk)

## Current state

Nighthawk currently offers:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/docker/Dockerfile-benchmark
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM frolvlad/alpine-python3
FROM frolvlad/alpine-python3@sha256:cc524b08e68d0545c0d89bb426aeb71359d6146eca941480efa778fd64dd4714

RUN apk add docker openrc
RUN rc-update add docker boot
Expand All @@ -11,4 +11,4 @@ ENV ENVOY_PATH="envoy" \
RUNFILES_DIR="/usr/local/bin/benchmarks/benchmarks.runfiles/" \
ENVOY_IP_TEST_VERSIONS="v4only"

CMD ["./benchmarks", "--help"]
CMD ["./benchmarks", "--help"]
2 changes: 1 addition & 1 deletion ci/docker/Dockerfile-nighthawk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM frolvlad/alpine-glibc:alpine-3.13_glibc-2.32
FROM frolvlad/alpine-glibc:alpine-3.13_glibc-2.32@sha256:cc9a97ed4e27fe0129056fa422d1c54f5a2f7ebe9a2856d7d5a15f17a17614fc

ADD nighthawk_client /usr/local/bin/nighthawk_client
ADD nighthawk_test_server /usr/local/bin/nighthawk_test_server
Expand Down
2 changes: 1 addition & 1 deletion ci/docker/Dockerfile-nighthawk-benchmark
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM frolvlad/alpine-glibc:alpine-3.13_glibc-2.32
FROM frolvlad/alpine-glibc:alpine-3.13_glibc-2.32@sha256:cc9a97ed4e27fe0129056fa422d1c54f5a2f7ebe9a2856d7d5a15f17a17614fc

CMD ["./benchmarks" "--help"]
ENV RUNFILES_DIR=/usr/local/bin/benchmarks/benchmarks.runfiles
Expand Down

0 comments on commit 363f557

Please sign in to comment.