Skip to content
This repository was archived by the owner on Dec 26, 2024. It is now read-only.

feat: add distroless docker builds #84

Merged
merged 21 commits into from
Aug 24, 2024
Merged

feat: add distroless docker builds #84

merged 21 commits into from
Aug 24, 2024

Conversation

s0up4200
Copy link
Contributor

@s0up4200 s0up4200 commented Apr 10, 2024

Currently running it with the nobody user and everything works as expected.

services:
  omegabrr:
    container_name: omegabrr
    image: ghcr.io/autobrr/omegabrr-distroless:pr-84
    runtime: runsc
    user: nobody
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    environment:
      - TZ=UTC
    volumes:
      - /omegabrr:/config
    restart: unless-stopped
    ports:
      - 127.0.0.1:7441:7441
    extra_hosts:
      - "host.docker.internal:host-gateway"
    networks:
      - stack
ls -la .docker/
drwx------   2 nobody nogroup 4.0K Apr 10 08:36 omegabrr
sudo ls -la omegabrr/
-rwx------  1 nobody nogroup 2154 Apr  8 20:03 config.yaml
2024-04-10T20:07:56Z INF starting omegabrr: pr-84
2024-04-10T20:07:56Z INF running on schedule: 0 */2 * * *
2024-04-10T20:07:56Z INF starting scheduler
2024-04-10T20:07:56Z INF init jobs
2024-04-10T20:07:58Z INF job successfully added: process-filters
2024-04-10T20:07:58Z DBG sleeping 15 seconds before running...
2024-04-10T20:08:13Z DBG gathering titles... client=radarr type=radarr
2024-04-10T20:08:16Z DBG found 3 movies to process client=radarr type=radarr
2024-04-10T20:08:16Z DBG from a total of 3 movies we found 2 monitored and created 2 release titles client=radarr type=radarr
2024-04-10T20:08:16Z DBG got 435 filter titles client=radarr type=radarr
2024-04-10T20:08:16Z TRC Movie,Another?Movie client=radarr type=radarr
2024-04-10T20:08:16Z DBG updating filter: 39 client=radarr type=radarr
2024-04-10T20:08:16Z TRC update filter response: HTTP/1.1 204 No Content
Content-Length: 0
Date: Wed, 10 Apr 2024 20:08:16 GMT
Vary: Origin


2024-04-10T20:08:16Z DBG successfully updated filter: 39 client=radarr type=radarr
2024-04-10T20:08:24Z INF Run complete.

@s0up4200 s0up4200 requested a review from zze0s April 10, 2024 19:23
@s0up4200 s0up4200 added enhancement New feature or request build labels Apr 10, 2024
@s0up4200 s0up4200 requested a review from KyleSanderson August 14, 2024 21:38
@zze0s zze0s merged commit b120fb8 into main Aug 24, 2024
13 checks passed
@zze0s zze0s deleted the distroless branch August 24, 2024 12:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants