Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
minaxolone committed Feb 25, 2024
1 parent 5bf6631 commit a3f17e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

FROM ubuntu:22.04 as builder

RUN apt update -y
RUN apt update
RUN apt install -y \
build-essential \
clang lld curl
build-essential \
clang lld curl \
libssl-dev pkg-config

# Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
ENV CARGO_INCREMENTAL="0"
Expand Down Expand Up @@ -47,4 +48,4 @@ env CLICKHOUSE_USERNAME="default"
env CLICKHOUSE_PASSWORD="default"
env CLICKHOUSE_DATABASE="olfyi"

CMD ["ol-data"]
CMD ["ol-data"]
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

COMMIT_HASH="$(git describe --always --abbrev=64)"
CONTAINER_REGISTRY="ghcr.io/0LNetworkCommunity/0l-data"
CONTAINER_REGISTRY="ghcr.io/0lnetworkcommunity/0l-data"
OL_DATA_IMAGE_TAG="$CONTAINER_REGISTRY:$COMMIT_HASH"

docker build . \
Expand Down

0 comments on commit a3f17e3

Please sign in to comment.