Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnp authored Oct 25, 2024
1 parent 2e6e740 commit 307b84e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM nikolaik/python-nodejs:python3.10-nodejs18
USER root
ARG TARGETARCH


# install common prerequisites
Expand All @@ -11,16 +10,6 @@ RUN poetry self update 1.8.2
# copy repo files
WORKDIR /root/scripts
COPY . .
# copy precompiled arm64 compilers if running on arm64
RUN if [ "$TARGETARCH" = "arm64" ]; then \
echo "Building for ARM64 architecture"; \
mkdir /root/.solcx; \
mkdir /root/.vvm; \
cp ./linux_arm64_compilers/solc* /root/.solcx/; \
pip install vyper==0.3.7; \
ln -s /usr/local/bin/vyper /root/.vvm/vyper-0.3.7; \
fi
# compilers for ammd64 will be downloaded by brownie later in this Dockerfile


# remove all temporary files to ensure correct compilation
Expand Down

0 comments on commit 307b84e

Please sign in to comment.