Skip to content

Commit

Permalink
fix(docker): small cleanups and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Nov 14, 2024
1 parent 80d9f19 commit a5030cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docker/iota-bridge-indexer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ WORKDIR "$WORKDIR"
# Install runtime dependencies and tools
RUN apt update && apt install -y libpq5 ca-certificates curl

# Install jemalloc as the default allocator
RUN apt install -y libjemalloc-dev
ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so

COPY --from=builder /iota/bridge-indexer /usr/local/bin

ARG BUILD_DATE
Expand Down
2 changes: 1 addition & 1 deletion docker/iota-node-deterministic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COPY --from=ca-certificates . /

COPY . /iota

WORKDIR "$WORKDIR/iota"
WORKDIR "/iota"

# TODO: Remove when iota-sim is public https://github.com/iotaledger/iota/issues/2149
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
Expand Down
1 change: 0 additions & 1 deletion docker/iota-rosetta-devnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN git clone https://github.com/iotaledger/iota .
RUN git checkout devnet


# TODO: Remove "--mount=type=ssh" when iota-sim is public https://github.com/iotaledger/iota/issues/2149
RUN --mount=type=ssh cargo build --profile ${PROFILE} \
--bin iota \
Expand Down
1 change: 1 addition & 0 deletions docker/iota-source-validation-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ WORKDIR "$WORKDIR"
RUN apt update && apt install -y libpq5 ca-certificates curl

COPY --from=builder /iota/iota-source-validation-service /usr/local/bin
COPY --from=builder /iota/crates/iota-source-validation-service/config.toml /var/iota/

ARG BUILD_DATE
ARG GIT_REVISION
Expand Down

0 comments on commit a5030cc

Please sign in to comment.