Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Sep 5, 2023
1 parent f8ff00c commit 7aba152
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ RUN apt update \
RUN curl 'https://get.ignite.com/[email protected]'! | bash
RUN ignite chain build \
--release.targets linux:amd64 \
--release.targets linux:arm64 \
--release.targets darwin:amd64 \
# --release.targets linux:arm64 \
# --release.targets darwin:amd64 \
--output ./release \
--release
RUN tar -zxvf release/mycel_linux_amd64.tar.gz
--release \
&& tar -zxvf release/mycel_linux_amd64.tar.gz

FROM ubuntu
ENV LD_LIBRARY_PATH=/usr/local/lib
RUN apt update \
&& apt install -y ca-certificates vim
&& apt install -y ca-certificates vim curl
WORKDIR /root/
RUN curl -fL 'https://github.com/CosmWasm/wasmvm/releases/download/v1.4.0/libwasmvm.x86_64.so' > /usr/local/lib/libwasmvm.x86_64.so
COPY --from=builder /build/myceld /usr/local/bin
CMD ["myceld", "start"]

0 comments on commit 7aba152

Please sign in to comment.