Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cardano-db-sync 13.6.0.1 #70

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ghcr.io/blinklabs-io/haskell:9.6.3-3.10.2.0-1 AS cardano-db-sync-build
RUN apt-get update && apt-get install -y libpq-dev
# Install cardano-db-sync
ARG DBSYNC_VERSION=13.6.0.0
ARG DBSYNC_VERSION=13.6.0.1
ENV DBSYNC_VERSION=${DBSYNC_VERSION}
ARG DBSYNC_REF=tags/13.6.0.0-pre
ARG DBSYNC_REF=tags/13.6.0.1
ENV DBSYNC_REF=${DBSYNC_REF}
ARG DBTOOL_VERSION=13.6.0.0
ARG DBTOOL_VERSION=13.6.0.1
ENV DBTOOL_VERSION=${DBTOOL_VERSION}
RUN echo "Building ${DBSYNC_REF}..." \
&& echo ${DBSYNC_REF} > /CARDANO_DB_SYNC_REF \
Expand All @@ -29,8 +29,8 @@
FROM ghcr.io/blinklabs-io/cardano-configs:20241028-1 AS cardano-configs

FROM debian:bookworm-slim AS cardano-db-sync
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"

Check warning on line 32 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-amd64

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

Check warning on line 33 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-amd64

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PKG_CONFIG_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
COPY --from=cardano-db-sync-build /usr/local/lib/ /usr/local/lib/
COPY --from=cardano-db-sync-build /usr/local/include/ /usr/local/include/
COPY --from=cardano-db-sync-build /root/.local/bin/cardano-* /code/cardano-db-sync/scripts/postgresql-setup.sh /usr/local/bin/
Expand Down