File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM vladsimplestakingcom/mina-openmina-builder:focal AS builder
33
44RUN git fetch && git checkout feat/tests-with-debugger
55
6- RUN source ~/.cargo/env && cargo +1.84 build --release -p openmina-node-testing --bin runner --bin openmina-node-testing
6+ RUN . ~/.cargo/env && cargo +1.84 build --release -p openmina-node-testing --bin runner --bin openmina-node-testing
77
88FROM vladsimplestakingcom/mina-debugger:2.0.0rampup4-focal
99
Original file line number Diff line number Diff line change 11FROM rust:1.84.0-bullseye AS builder
22
3- RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
3+ RUN mkdir -p ~/.ssh && chmod 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
44
55ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
66
Original file line number Diff line number Diff line change 22FROM debian:bullseye
33
44# hadolint ignore=DL3008
5- RUN apt -y update && \
6- apt -y upgrade && \
7- apt -y install --no-install-recommends \
5+ RUN apt-get -y update && \
6+ apt-get -y upgrade && \
7+ apt-get -y install --no-install-recommends \
88 apt-transport-https \
99 ca-certificates \
1010 pkg-config \
@@ -34,7 +34,8 @@ RUN apt -y update && \
3434 python3 \
3535 tzdata \
3636 liblmdb-dev \
37- rsync
37+ rsync && \
38+ rm -rf /var/lib/apt/lists/*
3839
3940SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
4041
@@ -49,17 +50,16 @@ RUN ARCH=$(uname -m) && \
4950 echo "Unsupported architecture: $ARCH" && exit 1; \
5051 fi && \
5152 rm -rf /usr/local/go && \
52- curl -sSL https://go.dev/dl/go1.19.5.linux-$ARCH.tar.gz | tar -C /usr/local -xzf -
53+ curl -sSL https://go.dev/dl/go1.19.5.linux-" $ARCH" .tar.gz | tar -C /usr/local -xzf -
5354RUN export PATH=$PATH:/usr/local/go/bin
5455RUN curl -sSL https://capnproto.org/capnproto-c++-0.10.2.tar.gz | tar -zxf -
5556WORKDIR /capnproto-c++-0.10.2
5657RUN ./configure && \
5758 make -j6 check && \
5859 make install
5960WORKDIR /
60- RUN rm -rf capnproto-c++-0.10.2
61-
62- RUN git clone https://github.com/openmina/mina.git
61+ RUN rm -rf capnproto-c++-0.10.2 && \
62+ git clone https://github.com/openmina/mina.git
6363WORKDIR /mina
6464RUN git submodule update --init --recursive && \
6565 git config --local --add submodule.recurse true && \
You can’t perform that action at this time.
0 commit comments