From 11a31bb656cf5fe5d2844b41f5b91334ad11d2e4 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Wed, 12 Nov 2014 13:40:55 -0500 Subject: [PATCH] Expose configuration and data directory. --- devel/Dockerfile | 3 +++ devel/aptly.conf | 16 ++++++++++++++++ latest/Dockerfile | 3 +++ latest/aptly.conf | 16 ++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 devel/aptly.conf create mode 100644 latest/aptly.conf diff --git a/devel/Dockerfile b/devel/Dockerfile index fd59a8e..daf237d 100644 --- a/devel/Dockerfile +++ b/devel/Dockerfile @@ -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"] diff --git a/devel/aptly.conf b/devel/aptly.conf new file mode 100644 index 0000000..9dc011a --- /dev/null +++ b/devel/aptly.conf @@ -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": {} +} \ No newline at end of file diff --git a/latest/Dockerfile b/latest/Dockerfile index c6b892b..0305f10 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -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"] diff --git a/latest/aptly.conf b/latest/aptly.conf new file mode 100644 index 0000000..9dc011a --- /dev/null +++ b/latest/aptly.conf @@ -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": {} +} \ No newline at end of file