diff --git a/src/cc_catalog_airflow/local_postgres/01_airflow_user_db.sql b/src/cc_catalog_airflow/local_postgres/0001_airflow_user_db.sql similarity index 100% rename from src/cc_catalog_airflow/local_postgres/01_airflow_user_db.sql rename to src/cc_catalog_airflow/local_postgres/0001_airflow_user_db.sql diff --git a/src/cc_catalog_airflow/local_postgres/02_aws_s3_mock.sql b/src/cc_catalog_airflow/local_postgres/0002_aws_s3_mock.sql similarity index 100% rename from src/cc_catalog_airflow/local_postgres/02_aws_s3_mock.sql rename to src/cc_catalog_airflow/local_postgres/0002_aws_s3_mock.sql diff --git a/src/cc_catalog_airflow/local_postgres/03_openledger_image_schema.sql b/src/cc_catalog_airflow/local_postgres/0003_openledger_image_schema.sql similarity index 100% rename from src/cc_catalog_airflow/local_postgres/03_openledger_image_schema.sql rename to src/cc_catalog_airflow/local_postgres/0003_openledger_image_schema.sql diff --git a/src/cc_catalog_airflow/local_postgres/04_openledger_image_view.sql b/src/cc_catalog_airflow/local_postgres/0004_openledger_image_view.sql similarity index 100% rename from src/cc_catalog_airflow/local_postgres/04_openledger_image_view.sql rename to src/cc_catalog_airflow/local_postgres/0004_openledger_image_view.sql diff --git a/src/cc_catalog_airflow/local_postgres/05_openledger_old_image_schema.sql b/src/cc_catalog_airflow/local_postgres/0005_openledger_old_image_schema.sql similarity index 100% rename from src/cc_catalog_airflow/local_postgres/05_openledger_old_image_schema.sql rename to src/cc_catalog_airflow/local_postgres/0005_openledger_old_image_schema.sql diff --git a/src/cc_catalog_airflow/local_postgres/Dockerfile b/src/cc_catalog_airflow/local_postgres/Dockerfile index fce37f37c..ee37f9082 100644 --- a/src/cc_catalog_airflow/local_postgres/Dockerfile +++ b/src/cc_catalog_airflow/local_postgres/Dockerfile @@ -2,9 +2,9 @@ FROM postgres:13.2 ENV POSTGRES_USER=deploy ENV POSTGRES_PASSWORD=deploy ENV POSTGRES_DB=openledger -ADD 01_airflow_user_db.sql /docker-entrypoint-initdb.d -ADD 02_aws_s3_mock.sql /docker-entrypoint-initdb.d -ADD 03_openledger_image_schema.sql /docker-entrypoint-initdb.d -ADD 04_openledger_image_view.sql /docker-entrypoint-initdb.d -ADD 05_openledger_old_image_schema.sql /docker-entrypoint-initdb.d +ADD 0001_airflow_user_db.sql /docker-entrypoint-initdb.d +ADD 0002_aws_s3_mock.sql /docker-entrypoint-initdb.d +ADD 0003_openledger_image_schema.sql /docker-entrypoint-initdb.d +ADD 0004_openledger_image_view.sql /docker-entrypoint-initdb.d +ADD 0005_openledger_old_image_schema.sql /docker-entrypoint-initdb.d RUN apt-get -y update && apt-get -y install python3-boto3 postgresql-plpython3-13