Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/signalfx/maestro-base
Base Docker image for Maestro-enabled components
https://github.com/signalfx/maestro-base
Last synced: 19 days ago
JSON representation
Base Docker image for Maestro-enabled components
- Host: GitHub
- URL: https://github.com/signalfx/maestro-base
- Owner: signalfx
- Created: 2014-01-22T18:32:15.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T23:46:49.000Z (almost 4 years ago)
- Last Synced: 2024-11-04T10:43:32.995Z (about 1 month ago)
- Language: Shell
- Homepage: http://www.signalfx.com
- Size: 44.9 KB
- Stars: 4
- Watchers: 84
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - signalfx/maestro-base - Base Docker image for Maestro-enabled components (others)
README
# Base Docker image for Maestro-enabled components
![SignalFx](https://raw.githubusercontent.com/signalfx/maestro-base/master/logo/sfx.png) ![Alpine](https://raw.githubusercontent.com/signalfx/maestro-base/master/logo/alpine.png)
This base image provides a sane foundation for the Docker images of
components orchestrated by
[MaestroNG](https://github.com/signalfuse/maestro-ng). It's based on
[Alpine Linux](http://alpinelinux.org/) and provides a lightweight base
to build applications upon. It contains:- `git`, `wget`, `tar` to download packages or repositories during
provisioning of sub-images;
- `bash` and `vim`, for a sane troubleshooting environment inside the
container;
- Python 2.7 with `pip`;
- [MaestroNG](https://github.com/signalfuse/maestro-ng), for its guest
utils functions.See [MaestroNG's
documentation](http://maestro-ng.readthedocs.org/en/master/guest-functions/)
for more information on how to use Maestro and the guest utils
(Python-based helper functions for your container init script).# Java images
![Java](https://raw.githubusercontent.com/signalfx/maestro-base/master/logo/java.png)
The `:alp-3.8` base image does not include a Java runtime. For this, another
additional images are available: `:alp-3.8-jdk8`
that offers the Oracle Java JDK8.To use, setup your `Dockerfile` like so:
```Dockerfile
# Let's use Java8
FROM quay.io/signalfuse/maestro-base:alp-3.8-jdk8
...
```# Building
Instructions on how the Alpine Linux based
`quay.io/signalfuse/maestro-base` images were built:## Building the base image
```
$ docker build -t quay.io/signalfuse/maestro-base:alp-3.8 .
```## Building a Java base image
Oracle no longer provides unauthenticated downloads of jdk8 so you first
must download the jdk linux-x64.tar.gz file into the java/ sub directory.
You can find downloads [here](http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html)
```
$ JAVA_VERSION=8 docker build \
-f java/Dockerfile.${JAVA_VERSION} \
-t quay.io/signalfuse/maestro-base:alp-3.8-jdk${JAVA_VERSION} \
java/
```