-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
165 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:14.04 | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
make \ | ||
git \ | ||
ruby \ | ||
ruby-dev \ | ||
ruby-ffi \ | ||
binutils \ | ||
reprepro \ | ||
wget \ | ||
&& \ | ||
apt-get clean | ||
|
||
RUN gem install --no-ri --no-rdoc fpm | ||
|
||
WORKDIR /home |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
This Docker image can be built and used to run `fpm` and `reprepro` for testing on your development machine. | ||
|
||
From the workspace directory `rackspace-monitoring-poller`, run the following to build the image | ||
|
||
```bash | ||
docker build -t poller-builder contrib/docker-builder | ||
``` | ||
|
||
With that you can use the image to run `make`, etc using | ||
|
||
```bash | ||
docker run -it --rm -v $PWD:/home poller-builder | ||
``` | ||
|
||
For example, to build the debian packages and populate the apt repo area without signing, run | ||
|
||
```bash | ||
make DONT_SIGN=1 reprepro-debs | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters