From 093a0077b5306b27f39d8d11d5febb5ed85ce634 Mon Sep 17 00:00:00 2001 From: Yoom Lam Date: Tue, 8 Oct 2024 11:18:45 -0500 Subject: [PATCH] ci: Use python:3.12-slim for Docker image (#91) --- app/Dockerfile | 2 +- docs/decisions/infra/0007-database-migration-architecture.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index 7e57c913..a068ef21 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -4,7 +4,7 @@ # The build stage that will be used to deploy to the various environments # needs to be called `release` in order to integrate with the repo's # top-level Makefile -FROM python:3-slim AS base +FROM python:3.12-slim AS base # Install poetry, the package manager. # https://python-poetry.org diff --git a/docs/decisions/infra/0007-database-migration-architecture.md b/docs/decisions/infra/0007-database-migration-architecture.md index e55d9785..6885b5df 100644 --- a/docs/decisions/infra/0007-database-migration-architecture.md +++ b/docs/decisions/infra/0007-database-migration-architecture.md @@ -33,7 +33,7 @@ Questions that need to be addressed: Run migrations from an ECS task using the same container image that is used for running the web service. Require a `db-migrate` script in the application container image that performs the migration. When running the migration task using [AWS CLI's run-task command](https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html), use the `--overrides` option to override the command to the `db-migrate` command. -Default to rolling forward instead of rolling back when issues arise (See [Pitfalls with SQL rollbacks and automated database deployments](https://octopus.com/blog/database-rollbacks-pitfalls)). Do not support rolling back out of the box, but still project teams to easily implement database rollbacks through the mechanism of running an application-specific database rollback script through a general purpose `run-command` script. +Default to rolling forward instead of rolling back when issues arise (search Pitfalls with SQL rollbacks and automated database deployments). Do not support rolling back out of the box, but still project teams to easily implement database rollbacks through the mechanism of running an application-specific database rollback script through a general purpose `run-command` script. Pros