Commit 4cf89730 authored by ale's avatar ale

Switch from bitnami to debian-slim

parent 9172ef21
FROM bitnami/minideb:buster
FROM debian:stable-slim
COPY build.sh /tmp/build.sh
......
......@@ -3,10 +3,6 @@
# 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.
BUILD_PACKAGES=""
# Packages required to serve the website and run the services.
PACKAGES="prometheus"
......@@ -29,11 +25,11 @@ set -x
apt-get -q update
# Install required packages
install_packages ${BUILD_PACKAGES} ${PACKAGES} \
install_packages ${PACKAGES} \
|| die "could not install packages"
# Remove packages used for installation.
apt-get remove -y --purge ${BUILD_PACKAGES}
#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