From 475b5552eb568d1638322a45e91f6d0f8d2456a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 10:01:21 +0000 Subject: [PATCH 1/4] Add noop docker image to replace rwgrim/docker-noop Co-authored-by: juliusknorr <3404133+juliusknorr@users.noreply.github.com> --- .github/workflows/docker.yml | 1 + docker-compose.yml | 2 +- docker/noop/Dockerfile | 11 +++++++++++ docker/noop/noop.c | 5 +++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 docker/noop/Dockerfile create mode 100644 docker/noop/noop.c diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f9b47ec3..cee502ec 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -41,6 +41,7 @@ jobs: - codedev - code - talk-janus + - noop permissions: packages: write contents: read diff --git a/docker-compose.yml b/docker-compose.yml index a52b9c57..aaeb87df 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -661,7 +661,7 @@ services: - host.docker.internal:host-gateway database-sqlite: - image: rwgrim/docker-noop + image: ghcr.io/juliusknorr/nextcloud-dev-noop:latest database-mysql: image: mariadb:10.6 diff --git a/docker/noop/Dockerfile b/docker/noop/Dockerfile new file mode 100644 index 00000000..92e36b96 --- /dev/null +++ b/docker/noop/Dockerfile @@ -0,0 +1,11 @@ +# VERSION 0.1.0 + +FROM alpine:latest AS builder +COPY noop/noop.c / +RUN apk add --no-cache gcc musl-dev && gcc -static -o /noop /noop.c + +FROM scratch +MAINTAINER Jan Nash + +COPY --from=builder /noop /noop +CMD ["/noop"] diff --git a/docker/noop/noop.c b/docker/noop/noop.c new file mode 100644 index 00000000..cf717da2 --- /dev/null +++ b/docker/noop/noop.c @@ -0,0 +1,5 @@ +#include + +int main() { + exit(0); +} From 8c27898475b97790bab767b0f3dc255329a6a58f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 10:06:22 +0000 Subject: [PATCH 2/4] Final verification complete Co-authored-by: juliusknorr <3404133+juliusknorr@users.noreply.github.com> --- _codeql_detected_source_root | 1 + 1 file changed, 1 insertion(+) create mode 120000 _codeql_detected_source_root diff --git a/_codeql_detected_source_root b/_codeql_detected_source_root new file mode 120000 index 00000000..945c9b46 --- /dev/null +++ b/_codeql_detected_source_root @@ -0,0 +1 @@ +. \ No newline at end of file From e9c2bd1948a33dd1fa68eda937a49287e4acc9ab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 10:06:45 +0000 Subject: [PATCH 3/4] Remove CodeQL artifact Co-authored-by: juliusknorr <3404133+juliusknorr@users.noreply.github.com> --- _codeql_detected_source_root | 1 - 1 file changed, 1 deletion(-) delete mode 120000 _codeql_detected_source_root diff --git a/_codeql_detected_source_root b/_codeql_detected_source_root deleted file mode 120000 index 945c9b46..00000000 --- a/_codeql_detected_source_root +++ /dev/null @@ -1 +0,0 @@ -. \ No newline at end of file From 2fa13478d66f1f60a976b961ddbf0e6fa36406b6 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Thu, 6 Nov 2025 11:41:05 +0100 Subject: [PATCH 4/4] fix: Add note about original dockerfile --- docker/noop/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/noop/Dockerfile b/docker/noop/Dockerfile index 92e36b96..94e83381 100644 --- a/docker/noop/Dockerfile +++ b/docker/noop/Dockerfile @@ -1,11 +1,11 @@ # VERSION 0.1.0 +# Based on https://github.com/JanNash/docker_noop FROM alpine:latest AS builder COPY noop/noop.c / RUN apk add --no-cache gcc musl-dev && gcc -static -o /noop /noop.c FROM scratch -MAINTAINER Jan Nash COPY --from=builder /noop /noop CMD ["/noop"]