Fettling.

This commit is contained in:
Greyscale 2021-06-27 00:20:40 +02:00
parent b2214efda3
commit fbc8d6415c
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM mariadb:10.6
FROM mariadb:latest
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker"

View file

@ -6,10 +6,13 @@ LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
RUN apt-get update -q && \
apt-get install --no-install-recommends -yq \
cpulimit \
&& \
python-dev libpq-dev \
postgresql-client \
&& \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/lib/dpkg/status.old /var/cache/debconf/templates.dat /var/log/dpkg.log /var/log/lastlog /var/log/apt/*.log
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/lib/dpkg/status.old /var/cache/debconf/templates.dat /var/log/dpkg.log /var/log/lastlog /var/log/apt/*.log && \
pip install psycopg2
FROM matthewbaggett/octoprint AS builder
RUN apt-get update -q && \