Expose configuration and data directory.
This commit is contained in:
parent
c6b40e9c85
commit
11a31bb656
|
@ -2,3 +2,6 @@ FROM golang:latest
|
|||
MAINTAINER Mike Purvis
|
||||
|
||||
RUN go get github.com/smira/aptly
|
||||
|
||||
ADD aptly.conf /etc/aptly.conf
|
||||
VOLUME ["/root/.aptly"]
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"rootDir": "/Users/mikepurvis/.aptly",
|
||||
"downloadConcurrency": 4,
|
||||
"downloadSpeedLimit": 0,
|
||||
"architectures": [],
|
||||
"dependencyFollowSuggests": false,
|
||||
"dependencyFollowRecommends": false,
|
||||
"dependencyFollowAllVariants": false,
|
||||
"dependencyFollowSource": false,
|
||||
"gpgDisableSign": false,
|
||||
"gpgDisableVerify": false,
|
||||
"downloadSourcePackages": false,
|
||||
"ppaDistributorID": "ubuntu",
|
||||
"ppaCodename": "",
|
||||
"S3PublishEndpoints": {}
|
||||
}
|
|
@ -7,3 +7,6 @@ gpg --keyserver keys.gnupg.net --recv-keys 2A194991; \
|
|||
gpg -a --export 2A194991 | apt-key add -; \
|
||||
apt-get update; \
|
||||
apt-get install aptly -y
|
||||
|
||||
ADD aptly.conf /etc/aptly.conf
|
||||
VOLUME ["/root/.aptly"]
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"rootDir": "/Users/mikepurvis/.aptly",
|
||||
"downloadConcurrency": 4,
|
||||
"downloadSpeedLimit": 0,
|
||||
"architectures": [],
|
||||
"dependencyFollowSuggests": false,
|
||||
"dependencyFollowRecommends": false,
|
||||
"dependencyFollowAllVariants": false,
|
||||
"dependencyFollowSource": false,
|
||||
"gpgDisableSign": false,
|
||||
"gpgDisableVerify": false,
|
||||
"downloadSourcePackages": false,
|
||||
"ppaDistributorID": "ubuntu",
|
||||
"ppaCodename": "",
|
||||
"S3PublishEndpoints": {}
|
||||
}
|
Loading…
Reference in New Issue