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
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:bookworm-slim AS builder
ARG CABAL_VERSION=3.12.1.0
ARG GHC_VERSION=9.6.6
ARG GHC_VERSION=9.6.7
ARG LIBSODIUM_REF=dbb48cce
ARG SECP256K1_REF=v0.3.2
ARG BLST_REF=v0.3.14

WORKDIR /code

# UTF-8
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8

# system dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && \
Expand All @@ -21,6 +25,7 @@
libssl-dev \
libsystemd-dev \
libtinfo-dev \
liburing-dev \
llvm-dev \
zlib1g-dev \
make \
Expand Down Expand Up @@ -60,8 +65,8 @@
./configure && \
make && \
make install
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"

Check warning on line 68 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/

Check warning on line 68 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (arm64)

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 69 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/

Check warning on line 69 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (arm64)

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/

# secp256k1
RUN git clone https://github.com/bitcoin-core/secp256k1 && \
Expand Down
Loading