Trim the docker container down further
Some checks failed
Build and Publish / build_and_publish (push) Has been cancelled
Some checks failed
Build and Publish / build_and_publish (push) Has been cancelled
This commit is contained in:
parent
493e9e9b85
commit
82a6b4f026
3 changed files with 8 additions and 10 deletions
|
@ -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' }}
|
||||
|
|
14
Dockerfile
14
Dockerfile
|
@ -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
|
||||
|
||||
|
|
|
@ -261,8 +261,6 @@ class FFMeta(commands.Cog):
|
|||
str(rbh),
|
||||
"-c:v",
|
||||
"h264",
|
||||
"-crf",
|
||||
"10",
|
||||
"-c:a",
|
||||
"libopus",
|
||||
"-pix_fmt",
|
||||
|
|
Loading…
Reference in a new issue