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
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- codedev
- code
- talk-janus
- noop
permissions:
packages: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions docker/noop/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +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

COPY --from=builder /noop /noop
CMD ["/noop"]
5 changes: 5 additions & 0 deletions docker/noop/noop.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <stdlib.h>

int main() {
exit(0);
}
Loading