Skip to content

Commit

Permalink
Merge pull request #84 from input-output-hk/feature/update-postgres-b…
Browse files Browse the repository at this point in the history
…uilder

fix: Fix PostgreSQL earthly file, update Readme
  • Loading branch information
Mr-Leshiy authored Nov 3, 2023
2 parents bfab3a8 + c87f8f7 commit 6fa8d75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions earthly/postgresql/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion earthly/postgresql/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6fa8d75

Please sign in to comment.