chore: remove unused docker/dev/ native dev container setup

Delete docker/dev/Dockerfile, docker-compose.yml, and docs/docker-dev.md.
This was local infrastructure not from upstream, and we use the DevContainer
instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mike LiuandClaude Opus 4.6 committed 2026-03-03 22:01:55 +00:00
1 parent 3b0c966f99
commit 380db08990
3 files changed
-172

No files matched your search

-62
View File
@@ -1,62 +0,0 @@
FROM ubuntu:24.04
ARG DEBIAN_FRONTEND=noninteractive
ARG USERNAME=dev
ARG USER_UID=1000
ARG USER_GID=1000
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash-completion \
build-essential \
ca-certificates \
ccache \
clang \
clang-format \
cmake \
curl \
gdb \
git \
lldb \
ninja-build \
nlohmann-json3-dev \
pkg-config \
python3 \
sudo \
unzip \
zip \
zlib1g-dev \
libcurl4-openssl-dev \
libflac-dev \
libfontconfig1-dev \
libfreetype6-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
libicu-dev \
libogg-dev \
libpng-dev \
libsdl2-dev \
libssl-dev \
libvorbis-dev \
libzip-dev \
libzstd-dev \
&& rm -rf /var/lib/apt/lists/*
RUN groupadd --force --gid "${USER_GID}" "${USERNAME}" \
&& if id -u "${USERNAME}" >/dev/null 2>&1; then \
usermod --uid "${USER_UID}" --gid "${USER_GID}" "${USERNAME}"; \
else \
useradd --uid "${USER_UID}" --gid "${USER_GID}" -m --non-unique "${USERNAME}"; \
fi \
&& echo "${USERNAME} ALL=(ALL) NOPASSWD:ALL" > "/etc/sudoers.d/${USERNAME}" \
&& chmod 0440 "/etc/sudoers.d/${USERNAME}"
ENV CC=clang
ENV CXX=clang++
ENV CCACHE_DIR=/home/${USERNAME}/.ccache
ENV PATH=/usr/lib/ccache:${PATH}
WORKDIR /workspaces/OpenRCT2
USER ${USERNAME}
CMD ["/bin/bash"]
-24
View File
@@ -1,24 +0,0 @@
services:
openrct2-dev:
build:
context: ../..
dockerfile: docker/dev/Dockerfile
args:
USER_UID: ${USER_UID:-1000}
USER_GID: ${USER_GID:-1000}
working_dir: /workspaces/OpenRCT2
volumes:
- ../..:/workspaces/OpenRCT2
- openrct2-ccache:/home/dev/.ccache
- ${RCT2_DATA_PATH:-/tmp/rct2-data}:/opt/rct2-data:ro
- ${OPENRCT2_USER_PATH:-/tmp/openrct2-user}:/home/dev/.config/OpenRCT2
environment:
CCACHE_DIR: /home/dev/.ccache
RCT2_DATA_PATH: /opt/rct2-data
OPENRCT2_USER_PATH: /home/dev/.config/OpenRCT2
DISPLAY: ${DISPLAY:-}
stdin_open: true
tty: true
volumes:
openrct2-ccache:
-86
View File
@@ -1,86 +0,0 @@
# Docker Development Environment
This repository can be built and run in a Linux container using the files in `docker/dev/`.
## What OpenRCT2 needs to build
From this repository's CMake files and Debian packaging metadata, Linux builds require:
- Build tools: C++20 compiler, `cmake` (3.24+), `ninja`, `pkg-config`, `git`
- Core libraries: `libzip`, `libpng`, `zlib`, `libzstd`, `libicu`, `nlohmann-json`
- Networking/security: `openssl`, `libcurl`
- Fonts/UI: `freetype`, `fontconfig`, `sdl2`
- Audio: `libflac`, `libogg`, `libvorbis`
- GUI rendering: OpenGL development headers (`libgl1-mesa-dev`)
The `docker/dev/Dockerfile` installs these dependencies.
## Build the container
```bash
cd docker/dev
docker compose build
```
To run as your local uid/gid (avoids root-owned files), pass them at build time:
```bash
USER_UID=$(id -u) USER_GID=$(id -g) docker compose build
```
## Start a development shell
```bash
cd docker/dev
docker compose run --rm openrct2-dev
```
## Build OpenRCT2 inside the container
Use the project build wrapper and disable install-time asset downloads for local development:
```bash
. scripts/setenv -q
scripts/build \
-DCMAKE_BUILD_TYPE=Debug \
-DDOWNLOAD_TITLE_SEQUENCES=OFF \
-DDOWNLOAD_OBJECTS=OFF \
-DDOWNLOAD_OPENSFX=OFF \
-DDOWNLOAD_OPENMUSIC=OFF \
-DDOWNLOAD_REPLAYS=OFF
```
## Run OpenRCT2 inside the container
Version check:
```bash
./bin/openrct2 --version
./bin/openrct2-cli --version
```
Run the game (requires original RCT2 assets):
```bash
./bin/openrct2 --rct2-data-path /opt/rct2-data
```
`/opt/rct2-data` is mounted read-only from `${RCT2_DATA_PATH}` on the host.
## Linux GUI forwarding (optional)
For GUI rendering from container to host X11:
```bash
xhost +local:docker
cd docker/dev
docker compose run --rm \
-e DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev/dri:/dev/dri \
openrct2-dev \
./bin/openrct2 --rct2-data-path /opt/rct2-data
xhost -local:docker
```
If you only need server/headless workflows, use `openrct2-cli` and skip GUI forwarding.