SeaCogs/.devcontainer/Dockerfile
cswimr 616d81d398
Some checks failed
Actions / Build Documentation (MkDocs) (push) Failing after 0s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 42s
switch to devcontainers
2025-01-24 22:17:25 +00:00

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