Commit 118fc540 authored by ale's avatar ale

Initial commit

FROM bitnami/minideb:buster
COPY /tmp/
RUN /tmp/ && rm /tmp/
ENTRYPOINT ["/usr/bin/prometheus"]
# Install script for chaperone inside a Docker container.
# Packages that are only used to build the container. These will be
# removed once we're done.
# Packages required to serve the website and run the services.
# We have to keep the python3 packages around in order to run
# chaperone (installed via pip).
# The default bitnami/minideb image defines an 'install_packages'
# command which is just a convenient helper. Define our own in
# case we are using some other Debian image.
if [ "x$(which install_packages)" = "x" ]; then
install_packages() {
env DEBIAN_FRONTEND=noninteractive apt-get install -qy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --no-install-recommends "$@"
die() {
echo "ERROR: $*" >&2
exit 1
set -x
apt-get -q update
# Install required packages
install_packages ${BUILD_PACKAGES} ${PACKAGES} \
|| die "could not install packages"
# Remove packages used for installation.
apt-get remove -y --purge ${BUILD_PACKAGES}
apt-get autoremove -y
apt-get clean
rm -fr /var/lib/apt/lists/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment