Skip to content

Commit e82ba0a

Browse files
committed
Dockerfiles: fix DL3003
1 parent 433afdd commit e82ba0a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

docker/producer-dashboard/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ WORKDIR /usr/src/openmina-producer-dashboard
44

55
COPY ../ .
66

7-
RUN cd producer-dashboard && SQLX_OFFLINE=true cargo install --path .
7+
WORKDIR /usr/src/openmina-producer-dashboard/producer-dashboard
8+
RUN SQLX_OFFLINE=true cargo install --path .
89

910
FROM ubuntu:noble AS mina-builder
1011

tools/fuzzing/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ RUN ARCH=$(uname -m) && \
5050
rm -rf /usr/local/go && \
5151
curl -sSL https://go.dev/dl/go1.19.5.linux-$ARCH.tar.gz | tar -C /usr/local -xzf -
5252
RUN export PATH=$PATH:/usr/local/go/bin
53-
RUN curl -sSL https://capnproto.org/capnproto-c++-0.10.2.tar.gz | tar -zxf - \
54-
&& cd capnproto-c++-0.10.2 \
55-
&& ./configure \
56-
&& make -j6 check \
57-
&& make install \
58-
&& cd .. \
59-
&& rm -rf capnproto-c++-0.10.2
53+
RUN curl -sSL https://capnproto.org/capnproto-c++-0.10.2.tar.gz | tar -zxf -
54+
WORKDIR /capnproto-c++-0.10.2
55+
RUN ./configure && \
56+
make -j6 check && \
57+
make install
58+
WORKDIR /
59+
RUN rm -rf capnproto-c++-0.10.2
6060

6161
RUN git clone https://github.com/openmina/mina.git
6262
WORKDIR /mina

0 commit comments

Comments
 (0)