Cleaning repository
This commit is contained in:
parent
a4bdd2f1dc
commit
be04830f1b
10
Dockerfile
10
Dockerfile
@ -2,15 +2,15 @@ FROM debian:stretch
|
||||
MAINTAINER Benjamin Bohard
|
||||
|
||||
RUN apt update && apt install -y ca-certificates gnupg1 && apt clean
|
||||
COPY aptly.sources.list /etc/apt/sources.list.d/aptly.list
|
||||
COPY etc/aptly.sources.list /etc/apt/sources.list.d/aptly.list
|
||||
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C
|
||||
RUN apt update && apt install -y aptly && apt clean
|
||||
|
||||
VOLUME ["/signing-key", "/packages"]
|
||||
EXPOSE 8080
|
||||
COPY aptly.conf /etc/aptly.conf
|
||||
COPY gpg.conf /root/.gnupg/gpg.conf
|
||||
COPY gpg-agent.conf /root/.gnupg/gpg-agent.conf
|
||||
COPY aptly.sh /srv/aptly.sh
|
||||
COPY etc/aptly.conf /etc/aptly.conf
|
||||
COPY etc/gpg.conf /root/.gnupg/gpg.conf
|
||||
COPY etc/gpg-agent.conf /root/.gnupg/gpg-agent.conf
|
||||
COPY srv/aptly.sh /srv/aptly.sh
|
||||
|
||||
CMD ["/srv/aptly.sh"]
|
||||
|
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Dépôt de paquets à la demande
|
||||
|
||||
## Usage
|
||||
|
||||
Exécuter le script aptly.boot avec les arguments suivants :
|
||||
|
||||
1. port d’écoute
|
||||
2. répertoire contenant les paquets à diffuser
|
||||
3. répertoire où rendre disponible la clé publique pour le dépôt signé
|
Loading…
Reference in New Issue
Block a user