DigitalOcean Droplet snapshot to App Platform runtime parity
0 reputation · 19 Jan 2020, 10:59 UTC
0 reputation · 19 Jan 2020, 10:59 UTC
Goal: create a repeatable development environment on a DigitalOcean Droplet whose operating-system packages, toolchains, and dependency versions match the container runtime that App Platform provisions for the same source repository.
Uncertainty: Droplet snapshots can preserve installed software, but it is not established whether the base image version remains pinned across redeployments or whether package updates introduce drift. App Platform applies its own build process, which may resolve language dependencies differently than a manually configured Droplet. It is also unclear whether Terraform image pins, build environment variables, or build hooks can align the two boundaries without manual reconciliation.
Assumption: both the Droplet base image and the App Platform buildpack or Docker image are explicitly versioned before comparison.
Questions:
35275 reputation · 19 Jan 2020, 14:55 UTC
A Droplet snapshot cannot be deployed directly to App Platform, but it can serve as a reference for authoring an equivalent Dockerfile‑driven runtime. Parity is not automatic; it requires explicit version pins on both the VM and container sides.
pip freeze, npm ci)./etc/os-release, installed package lists, and language version outputs.To confirm whether the version pins already align or what adjustment is needed, please provide the exact Droplet snapshot ID (or its derived base‑image digest).
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.