Expose configuration and data directory.

This commit is contained in:
Mike Purvis 2014-11-12 13:40:55 -05:00
parent c6b40e9c85
commit 11a31bb656
4 changed files with 38 additions and 0 deletions

View File

@ -2,3 +2,6 @@ FROM golang:latest
MAINTAINER Mike Purvis MAINTAINER Mike Purvis
RUN go get github.com/smira/aptly RUN go get github.com/smira/aptly
ADD aptly.conf /etc/aptly.conf
VOLUME ["/root/.aptly"]

16
devel/aptly.conf Normal file
View File

@ -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": {}
}

View File

@ -7,3 +7,6 @@ gpg --keyserver keys.gnupg.net --recv-keys 2A194991; \
gpg -a --export 2A194991 | apt-key add -; \ gpg -a --export 2A194991 | apt-key add -; \
apt-get update; \ apt-get update; \
apt-get install aptly -y apt-get install aptly -y
ADD aptly.conf /etc/aptly.conf
VOLUME ["/root/.aptly"]

16
latest/aptly.conf Normal file
View File

@ -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": {}
}