Skip to content

Commit

Permalink
Fix postgresql earthly file, update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Nov 3, 2023
1 parent bfab3a8 commit c87f8f7
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 c87f8f7

Please sign in to comment.