Simple aptly statically serving packages placed in volume /packages
This commit is contained in:
commit
c774e97c96
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM debian:stretch
|
||||
MAINTAINER Benjamin Bohard
|
||||
|
||||
RUN apt update && apt install -y ca-certificates gnupg aptly aptly-publisher && apt clean
|
||||
|
||||
VOLUME ["/aptly", "/packages"]
|
||||
EXPOSE 8080
|
||||
COPY aptly.conf /etc/aptly.conf
|
||||
COPY aptly.sh /srv/aptly.sh
|
||||
|
||||
CMD ["/srv/aptly.sh"]
|
16
aptly.conf
Normal file
16
aptly.conf
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"rootDir": "/aptly",
|
||||
"downloadConcurrency": 4,
|
||||
"downloadSpeedLimit": 0,
|
||||
"architectures": ["amd64"],
|
||||
"dependencyFollowSuggests": false,
|
||||
"dependencyFollowRecommends": false,
|
||||
"dependencyFollowAllVariants": false,
|
||||
"dependencyFollowSource": false,
|
||||
"gpgDisableSign": true,
|
||||
"gpgDisableVerify": true,
|
||||
"downloadSourcePackages": false,
|
||||
"ppaDistributorID": "ubuntu",
|
||||
"ppaCodename": "",
|
||||
"S3PublishEndpoints": {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user