How joelleach/foxcontainers works
Purpose and Distribution
FoxContainers builds preconfigured Windows container images for Visual FoxPro 9 (VFP9) development, runtime execution, IIS hosting, and FoxUnit testing. Images are published to Docker Hub and serve as reusable base images or Dockerfile examples. Root orchestration is provided by build-vfp-images.cmd and push-vfp-images.cmd.
Image Family and Layering
The repository is organized as four image variants:
• Full VFP9 IDE for automated builds: vfp9/dockerfile, vfp9/install/installvfp9.cmd.
• Runtime-only image, including VFP ODBC/OLE DB support: vfp9-runtime/dockerfile, vfp9-runtime/install/installvfp9-runtime.cmd.
• IIS-enabled runtime image: vfp9-runtime-iis/dockerfile, vfp9-runtime-iis/runvfp9-runtime-iis.cmd.
• FoxUnit-enabled development/test image, inheriting from the VFP9 image: vfp9-foxunit/dockerfile, vfp9-foxunit/install/installfoxunit.cmd.
Each variant has its own build, push, and interactive-run command scripts.
Build Entry Points
Image-specific build scripts parameterize Docker builds for multiple Windows operating-system variants:
vfp9/buildimages.cmd, vfp9-runtime/buildimages.cmd, vfp9-runtime-iis/buildimages.cmd, and vfp9-foxunit/buildimages.cmd. The corresponding pushimages.cmd scripts publish built tags. The root build/push scripts coordinate the family, establishing a dependency-aware image production flow.
Installation Boundary
VFP binaries and installation material are staged under each image’s install directory and incorporated by Docker build steps. The IDE image uses vfp9/install/Microsoft Visual FoxPro 9, while runtime setup is encapsulated in vfp9-runtime/install/installvfp9-runtime.cmd. This makes licensed VFP installation assets a build-context concern rather than application source code.
Runtime and Interactive Execution
The images target Windows containers and run VFP workloads through command-line launch scripts, including vfp9/runvfp9.cmd and vfp9-runtime/runvfp9-runtime.cmd. The IIS variant is the hosting boundary for web-facing VFP runtime deployments; its Dockerfile, vfp9-runtime-iis/dockerfile, combines IIS infrastructure with the VFP runtime base.
FoxConsole Tooling
All images include FoxConsole, a command-line interface for running VFP code inside containers. Its executable and program assets are staged in vfp9-runtime/install/FoxConsole/foxc.exe and vfp9-runtime/install/FoxConsole/foxconsole.prg. This is the common operational entry point (foxc) after a container starts.
External Services
Docker is the build and execution runtime; Docker Hub is the image registry and distribution endpoint. IIS is included only in the runtime-IIS variant. Visual FoxPro 9, its runtime, ODBC/OLE DB drivers, and FoxUnit are the primary packaged third-party platform components.
Main entry points: vfp9-runtime/dockerfile VFP9 runtime image · vfp9/dockerfile VFP9 IDE image · vfp9-runtime-iis/dockerfile VFP9 runtime IIS image · vfp9-foxunit/dockerfile VFP9 FoxUnit image
Components 20
Image orchestration
- Family build · Coordinates dependency-aware image builds.
build-vfp-images.cmd - Family push · Coordinates publishing of the image family.
push-vfp-images.cmd
Windows image variants
- IDE build matrix · Builds VFP9 tags for Windows OS variants.
vfp9/buildimages.cmd - VFP9 IDE image · Full VFP9 development and automated-build base image.
vfp9/dockerfile - VFP9 install assets · Licensed VFP installation material copied into the IDE build.
vfp9/install/Microsoft Visual FoxPro 9 - IDE launcher
vfp9/runvfp9.cmd - Runtime build matrix · Builds runtime tags for Windows OS variants.
vfp9-runtime/buildimages.cmd - VFP9 runtime image · Runtime image with VFP ODBC and OLE DB support.
vfp9-runtime/dockerfile - Runtime installer
vfp9-runtime/install/installvfp9-runtime.cmd - Runtime launcher
vfp9-runtime/runvfp9-runtime.cmd - FoxConsole CLI · Common operational entry point for running VFP code.
vfp9-runtime/install/FoxConsole/foxc.exe - IIS runtime build matrix · Builds IIS runtime tags for Windows OS variants.
vfp9-runtime-iis/buildimages.cmd - VFP9 runtime IIS image · Web-hosting image combining IIS with the VFP runtime.
vfp9-runtime-iis/dockerfile - IIS runtime launcher
vfp9-runtime-iis/runvfp9-runtime-iis.cmd - FoxUnit build matrix · Builds FoxUnit development/test tags.
vfp9-foxunit/buildimages.cmd - VFP9 FoxUnit image · Development and testing image derived from the VFP9 image.
vfp9-foxunit/dockerfile - FoxUnit installer
vfp9-foxunit/install/installfoxunit.cmd
Build and distribution
- Docker · Builds and runs Windows container images.
- Docker Hub · Distribution endpoint for published image tags.
- IIS · Hosting boundary available only in the IIS image.
Connections 27
- Family build → IDE build matrix: coordinates
- Family build → Runtime build matrix: coordinates
- Family build → IIS runtime build matrix: coordinates
- Family build → FoxUnit build matrix: coordinates
- Family push → Docker Hub: publishes family
- IDE build matrix → VFP9 IDE image: builds
- Runtime build matrix → VFP9 runtime image: builds
- IIS runtime build matrix → VFP9 runtime IIS image: builds
- FoxUnit build matrix → VFP9 FoxUnit image: builds
- VFP9 install assets → VFP9 IDE image: staged into build
- Runtime installer → VFP9 runtime image: installs runtime
- FoxConsole CLI → VFP9 runtime image: staged into image
- VFP9 IDE image → IDE launcher: runs with
- VFP9 runtime image → Runtime launcher: runs with
- VFP9 runtime image → VFP9 runtime IIS image: runtime base
- IIS → VFP9 runtime IIS image: included in
- VFP9 runtime IIS image → IIS runtime launcher: runs with
- VFP9 IDE image → VFP9 FoxUnit image: base image
- FoxUnit installer → VFP9 FoxUnit image: installs test tooling
- Docker → VFP9 IDE image: builds and runs
- Docker → VFP9 runtime image: builds and runs
- Docker → VFP9 runtime IIS image: builds and runs
- Docker → VFP9 FoxUnit image: builds and runs
- VFP9 IDE image → Docker Hub: published tags
- VFP9 runtime image → Docker Hub: published tags
- VFP9 runtime IIS image → Docker Hub: published tags
- VFP9 FoxUnit image → Docker Hub: published tags