Skip to content
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.4.1.0
ARG DBSYNC_VERSION=13.5.0.1
ENV DBSYNC_VERSION=${DBSYNC_VERSION}
ARG DBSYNC_REF=tags/13.4.1.0
ARG DBSYNC_REF=tags/13.5.0.1
ENV DBSYNC_REF=${DBSYNC_REF}
ARG DBTOOL_VERSION=13.4.1.0
ARG DBTOOL_VERSION=13.5.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:20240725-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