Skip to content

Commit

Permalink
Fixes for evm test build
Browse files Browse the repository at this point in the history
- fixed some warnings from Dockerfile
- invoke docker build with correct context from build.mk
  • Loading branch information
ezavada committed Oct 23, 2024
1 parent fa89268 commit 9b90806
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions evm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ RUN go mod download
# Copy the rest of the source code and build the binary
#COPY scripts scripts

ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3
ENV PACKAGES="curl make git libc-dev bash gcc linux-headers eudev-dev python3"
RUN CGO_ENABLED=1 make install # Binary will be in /go/bin/world-evm

################################
# Runtime Image
################################
FROM ubuntu:18.04 as runtime
FROM ubuntu:18.04 AS runtime

# Expose ports needed by the World EVM
EXPOSE 26656 26657 1317 9090 8546 8545 9601

# Install package dependencies for start script
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y &&\
apt-get install -y --no-install-recommends curl jq bash && \
apt-get autoremove -y && \
Expand Down
2 changes: 1 addition & 1 deletion makefiles/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contracts:
cd evm/precompile/contracts && go generate

rollup-build:
@docker build evm
@docker build -f evm/Dockerfile .

rollup-install:
cd evm && $(MAKE) install
Expand Down

0 comments on commit 9b90806

Please sign in to comment.