From c87f8f7694298d87c28e07758315486f7740dacd Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Fri, 3 Nov 2023 15:05:53 +0200 Subject: [PATCH] Fix postgresql earthly file, update Readme --- earthly/postgresql/Earthfile | 10 +++++----- earthly/postgresql/Readme.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/earthly/postgresql/Earthfile b/earthly/postgresql/Earthfile index 9e27ae444..0a7fe0321 100644 --- a/earthly/postgresql/Earthfile +++ b/earthly/postgresql/Earthfile @@ -16,23 +16,23 @@ postgres-base: colordiff \ musl-dev \ curl \ - gcc + gcc \ + python3 # Get refinery COPY ../rust+rust-base/refinery /bin COPY ./entry.sh . - RUN chmod ugo+x ./entry.sh - COPY setup-db.sql . + COPY ./setup-db.sql . # Common PostgreSQL setup. # Prepare important files needed for building image BUILDER: COMMAND - COPY ./entry.sh . + RUN cp /root/entry.sh . RUN chmod ugo+x ./entry.sh - COPY setup-db.sql . + RUN cp /root/setup-db.sql . # Base checks for sql files # TODO: https://github.com/input-output-hk/catalyst-ci/issues/62 diff --git a/earthly/postgresql/Readme.md b/earthly/postgresql/Readme.md index 70c04fd31..616c794a0 100644 --- a/earthly/postgresql/Readme.md +++ b/earthly/postgresql/Readme.md @@ -25,7 +25,7 @@ builder: WORKDIR /build - COPY --dir example/migrations example/data example/refinery.toml + COPY --dir ./example/migrations ./example/data ./example/refinery.toml . DO +BUILDER build: