File tree Expand file tree Collapse file tree 10 files changed +13
-13
lines changed
docker/producer-dashboard Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 11FROM rust:bullseye AS build
2- RUN apt-get update && apt-get install -y protobuf-compiler && apt-get clean
2+ RUN apt-get update && apt-get install -y --no-install-recommends protobuf-compiler && apt-get clean
33RUN rustup default 1.84 && rustup component add rustfmt
44WORKDIR /openmina
55COPY . .
@@ -19,7 +19,7 @@ RUN git clone --depth 1 https://github.com/openmina/circuit-blobs.git \
1919 && rm -rf circuit-blobs/berkeley_rc1 circuit-blobs/*/tests
2020
2121FROM debian:bullseye
22- RUN apt-get update && apt-get install -y libjemalloc2 libssl1.1 libpq5 curl jq procps && apt-get clean
22+ RUN apt-get update && apt-get install -y --no-install-recommends libjemalloc2 libssl1.1 libpq5 curl jq procps && apt-get clean
2323
2424COPY --from=build /openmina/release-bin/openmina /usr/local/bin/
2525COPY --from=build /openmina/testing-release-bin/openmina-node-testing /usr/local/bin/
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN cd producer-dashboard && SQLX_OFFLINE=true cargo install --path .
88
99FROM ubuntu:noble AS mina-builder
1010
11- RUN apt-get update && apt-get install -y openssl ca-certificates
11+ RUN apt-get update && apt-get install -y --no-install-recommends openssl ca-certificates
1212
1313# Build mina from source
1414RUN apt-get update && \
@@ -78,7 +78,7 @@ RUN eval $(opam config env) && make build_all_sigs
7878
7979FROM ubuntu:noble
8080
81- RUN apt-get update && apt-get install -y libpq5 libjemalloc2
81+ RUN apt-get update && apt-get install -y --no-install-recommends libpq5 libjemalloc2
8282
8383COPY --from=app-builder /usr/local/cargo/bin/openmina-producer-dashboard /usr/local/bin/openmina-producer-dashboard
8484COPY --from=mina-builder /go/mina/src/app/libp2p_helper/result/bin/libp2p_helper /usr/local/bin/coda-libp2p_helper
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ RUN echo "---------- USING APACHE ----------"
1313FROM httpd:2.4
1414
1515RUN apt-get update && \
16- apt-get install -y curl && \
16+ apt-get install -y --no-install-recommends curl && \
1717 rm -rf /var/lib/apt/lists/*
1818
1919COPY --from=BUILD_IMAGE /app/dist/frontend/browser /usr/local/apache2/htdocs/
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ FROM minaprotocol/mina-daemon:2.0.0rampup4-14047c5-focal-berkeley
55
66COPY --from=debugger /usr/bin/bpf-recorder /usr/bin/bpf-recorder
77
8- RUN apt-get update && apt-get -y install libelf-dev
8+ RUN apt-get update && apt-get -y install --no-install-recommends libelf-dev
Original file line number Diff line number Diff line change 11FROM golang:1.18.10-buster AS builder
22
33RUN apt-get update && \
4- apt-get -y install \
4+ apt-get -y install --no-install-recommends \
55 apt-transport-https \
66 ca-certificates \
77 pkg-config \
Original file line number Diff line number Diff line change 11FROM golang:1.18.10-focal AS builder
22
33RUN apt-get update && \
4- apt-get -y install \
4+ apt-get -y install --no-install-recommends \
55 apt-transport-https \
66 ca-certificates \
77 pkg-config \
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM ubuntu:20.04 AS builder
33ENV TZ=UTC
44RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
55RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
6- apt-get -y install git curl gcc libssl-dev pkg-config
6+ apt-get -y install --no-install-recommends git curl gcc libssl-dev pkg-config
77
88RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
99
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN cargo install --git https://github.com/openmina/openmina.git --branch fix/bo
88
99FROM debian:bullseye
1010
11- RUN apt-get update && apt-get install -y libssl-dev
11+ RUN apt-get update && apt-get install -y --no-install-recommends libssl-dev
1212
1313COPY --from=builder /usr/local/cargo/bin/openmina-bootstrap-sandbox \
1414 /usr/local/bin/openmina-bootstrap-sandbox
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM debian:bullseye
33
44RUN apt -y update && \
55 apt -y upgrade && \
6- apt -y install \
6+ apt -y install --no-install-recommends \
77 apt-transport-https \
88 ca-certificates \
99 pkg-config \
Original file line number Diff line number Diff line change 22FROM rust:1.84-slim-bookworm AS builder
33
44WORKDIR /usr/src/app
5- RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
5+ RUN apt-get update && apt-get install -y --no-install-recommends pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
66
77COPY . .
88RUN ls -la tools/heartbeats-processor
@@ -11,7 +11,7 @@ RUN cargo build --release -p heartbeats-processor
1111# Runtime stage
1212FROM debian:bookworm-slim
1313
14- RUN apt-get update && apt-get install -y libsqlite3-0 ca-certificates && rm -rf /var/lib/apt/lists/*
14+ RUN apt-get update && apt-get install -y --no-install-recommends libsqlite3-0 ca-certificates && rm -rf /var/lib/apt/lists/*
1515
1616WORKDIR /app
1717
You can’t perform that action at this time.
0 commit comments