47 lines
1.1 KiB
Docker
47 lines
1.1 KiB
Docker
# Debian Atomic Server Variant (Minimal CLI)
|
|
# Fedora CoreOS 1:1 parallel for Debian
|
|
# Focus: Testing bootc, apt-ostree, bootupd
|
|
|
|
FROM localhost/debian-atomic-base:latest
|
|
|
|
# Create OSTree repository if it doesn't exist
|
|
RUN mkdir -p /ostree/repo
|
|
|
|
# Set labels for Debian Atomic
|
|
LABEL org.debian-atomic.variant="server"
|
|
LABEL org.debian-atomic.description="Minimal Server CLI Environment"
|
|
LABEL org.debian-atomic.fedora-equivalent="coreos"
|
|
|
|
# Install minimal server packages (avoid heavy desktop)
|
|
RUN apt-get update && apt-get install -y \
|
|
# Core server tools
|
|
openssh-server \
|
|
nginx \
|
|
postgresql-client \
|
|
mariadb-client \
|
|
redis-tools \
|
|
# Monitoring and management
|
|
htop \
|
|
iotop \
|
|
nethogs \
|
|
# Network tools
|
|
net-tools \
|
|
iproute2 \
|
|
iptables \
|
|
# Development tools (minimal)
|
|
git \
|
|
vim \
|
|
curl \
|
|
wget \
|
|
# Container tools
|
|
docker.io \
|
|
# Testing tools for our components
|
|
systemd \
|
|
systemd-sysv \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set working directory
|
|
WORKDIR /
|
|
|
|
# Default command
|
|
CMD ["/bin/bash"]
|