one apt install step
This commit is contained in:
parent
7dd8bce1ed
commit
df2599eda3
23
Dockerfile
23
Dockerfile
@ -4,11 +4,20 @@ WORKDIR /app
|
|||||||
ENV CARGO_TERM_COLOR always
|
ENV CARGO_TERM_COLOR always
|
||||||
|
|
||||||
# install rustup dependencies
|
# install rustup dependencies
|
||||||
|
# also install web3-proxy system dependencies. most things are rust-only, but not everything
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install --yes \
|
apt-get install --yes \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
|
liblz4-dev \
|
||||||
|
libpthread-stubs0-dev \
|
||||||
|
libsasl2-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libzstd-dev \
|
||||||
|
make \
|
||||||
|
pkg-config \
|
||||||
&& \
|
&& \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@ -34,20 +43,6 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||||||
ENV PATH /root/.foundry/bin:$PATH
|
ENV PATH /root/.foundry/bin:$PATH
|
||||||
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
||||||
|
|
||||||
# install web3-proxy system dependencies. most things are rust-only, but not everything
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install --yes \
|
|
||||||
cmake \
|
|
||||||
liblz4-dev \
|
|
||||||
libpthread-stubs0-dev \
|
|
||||||
libsasl2-dev \
|
|
||||||
libssl-dev \
|
|
||||||
libzstd-dev \
|
|
||||||
make \
|
|
||||||
pkg-config \
|
|
||||||
&& \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# copy the application
|
# copy the application
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user