Trim the docker container down further
Some checks failed
Build and Publish / build_and_publish (push) Has been cancelled

This commit is contained in:
Nexus 2024-06-12 00:34:14 +01:00
parent 493e9e9b85
commit 82a6b4f026
Signed by: nex
GPG key ID: 0FA334385D0B689F
3 changed files with 8 additions and 10 deletions

View file

@ -16,7 +16,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: git.i-am.nexus/nex/college-bot-v2
images: git.i-am.nexus/nex/college-bot
- name: Log into forgejo CR
if: ${{ github.event_name != 'pull_request' }}

View file

@ -1,4 +1,4 @@
FROM python:3.11-bookworm
FROM python:3.11-slim
LABEL org.opencontainers.image.source https://git.i-am.nexus/nex/college-bot-v2
LABEL org.opencontainers.image.url https://git.i-am.nexus/nex/college-bot-v2
@ -56,24 +56,24 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y
# chromium-shell \
# webext-ublock-origin-chromium
# Install general utilities
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
traceroute \
iputils-ping \
dnsutils \
net-tools \
git \
ffmpeg \
imagemagick \
whois \
wget \
curl \
htop \
python3 \
python3-pip \
python3-dev \
python3-virtualenv \
libmagic-dev
# Install image dependencies
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ffmpeg \
imagemagick
RUN virtualenv /app/venv
RUN /app/venv/bin/pip install --upgrade --no-input pip wheel setuptools

View file

@ -261,8 +261,6 @@ class FFMeta(commands.Cog):
str(rbh),
"-c:v",
"h264",
"-crf",
"10",
"-c:a",
"libopus",
"-pix_fmt",