Skip to content

Commit d7c061f

Browse files
authored
Merge pull request #430 from juliusknorr/copilot/fix-docker-compose-pull-issue
2 parents 7b9d9bc + 2fa1347 commit d7c061f

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- codedev
4242
- code
4343
- talk-janus
44+
- noop
4445
permissions:
4546
packages: write
4647
contents: read

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ services:
661661
- host.docker.internal:host-gateway
662662

663663
database-sqlite:
664-
image: rwgrim/docker-noop
664+
image: ghcr.io/juliusknorr/nextcloud-dev-noop:latest
665665

666666
database-mysql:
667667
image: mariadb:10.6

docker/noop/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# VERSION 0.1.0
2+
# Based on https://github.com/JanNash/docker_noop
3+
4+
FROM alpine:latest AS builder
5+
COPY noop/noop.c /
6+
RUN apk add --no-cache gcc musl-dev && gcc -static -o /noop /noop.c
7+
8+
FROM scratch
9+
10+
COPY --from=builder /noop /noop
11+
CMD ["/noop"]

docker/noop/noop.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include <stdlib.h>
2+
3+
int main() {
4+
exit(0);
5+
}

0 commit comments

Comments
 (0)