Public | Automated Build

Last pushed: 2 days ago
Short Description
Contains reprepro.
Full Description

reprepro-docker

Overview

This docker image contains reprepro.

Entrypoint Scripts

sshd

The embedded entrypoint script is located at /etc/entrypoint.d/10sshd and performs the following actions:

  1. The SSH host keys are generated.

gnupg

The embedded entrypoint script is located at /etc/entrypoint.d/20gnupg and performs the following actions:

  1. The GPG keys are imported, or generated using the following environment variables:

    | Variable | Default Value | Description |
    | ---------| ------------- | ----------- |
    | REPREPRO_DESCRIPTION | | See: repositry |
    | REPREPRO_URL | | See: repositry |

  2. The ownership and permissions are verified on the following locations: $GNUPGHOME.

reprepro

The embedded entrypoint script is located at /etc/entrypoint.d/30reprepro and performs the following actions:

  1. A new reprepro configuration is generated using the following environment variables:

    | Variable | Default Value | Description |
    | ---------| ------------- | ----------- |
    | REPREPRO_ARCHITECTURES | amd64 i386 source | The package architectures contained within. |
    | REPREPRO_CODENAME | stable | The operating system release name. |
    | REPREPRO_COMPONENTS | main | The packaging areas contained within. |
    | REPREPRO_COMPRESSION | .bz2 .gz | Available compression formats. |
    | REPREPRO_DESCRIPTION | Generic APT Repository | The repository description. |
    | REPREPRO_GPG_KEY| default | The GPG key to use for signing. |
    | REPREPRO_URL | packages.generic.com | The repository URL. |

  2. The existence, ownership, and permissions are verified on the following configured locations: DebOverride, DscOverride, and UDebOverride.

  3. The ownership and permissions are verified on the following locations: $REPREPRO_BASE_DIR.

sshc

The embedded entrypoint script is located at /etc/entrypoint.d/40sshc and performs the following actions:

  1. The ssh authorized_keys file is generated using the following environment variables:

    | Variable | Default Value | Description |
    | ---------| ------------- | ----------- |
    | CONTRIB_AUTHORIZED_KEYS | | The SSH public keys for the contrib user. |

Standard Configuration

Container Layout

/
├─ etc/
│  ├─ entrypoint.d/
│  │  ├─ 10sshd
│  │  ├─ 20gnupg
│  │  ├─ 30reprepro
│  │  └─ 40sshc
│  └─ nginx/
│     └─ sites-available/
│        └─ default
├─ home/
│  ├─ contrib/
│  │  └─ .ssh/
│  │     └─ authorized_keys
│  └─ reprepro/
│     ├─ .gnupg/
│     └─ makefile
├─ root/
│  ├─ private.gpg
│  └─ public.gpg
└─ var/
   └─ www/
      ├─ conf/
      │  ├─ distributions
      │  ├─ incoming
      │  ├─ options
      │  └─ uploaders
      ├─ incoming
      ├─ indices
      ├─ logs
      ├─ project
      └─ tmp

Exposed Ports

  • 22/tcp - sshd listening port.

Volumes

  • /etc/ssh - The SSH configuration directory.
  • /home/contrib/.ssh - The contrib user SSH authorized keys.
  • /home/reprepro/.gnupg - The reprepro GPG keys.
  • /var/www - The reprepro data directory.

Development

Source Control

Docker Pull Command
Owner
crashvb
Source Repository

Comments (0)