34 lines
857 B
Docker
34 lines
857 B
Docker
FROM ghcr.io/astral-sh/uv:0.5.24 AS uv
|
|
FROM python:3.11-slim AS python
|
|
|
|
FROM mcr.microsoft.com/vscode/devcontainers/base:bookworm
|
|
LABEL repository="www.coastalcommits.com/cswimr/SeaCogs"
|
|
LABEL maintainer="cswimr <seaswimmerthefsh@gmail.com>"
|
|
|
|
RUN apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
# Red-DiscordBot
|
|
build-essential \
|
|
git \
|
|
# PyNaCl
|
|
libsodium-dev \
|
|
# CFFI
|
|
libffi-dev \
|
|
# SSH repository support
|
|
openssh-client \
|
|
# Cog dependencies
|
|
# Audio
|
|
openjdk-17-jre-headless \
|
|
# PyLav
|
|
libaio1 \
|
|
libaio-dev \
|
|
# SeaUtils
|
|
dnsutils; \
|
|
apt-get clean; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY --from=uv --chown=vscode: /uv /uvx /bin/
|
|
COPY --from=python --chown=vscode: /usr/local /usr/local
|
|
|
|
RUN ln -s /usr/local/bin/python3.11 /usr/local/bin/python; \
|
|
python --version
|