This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e16a3b7
commit c5f96bd
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ FROM --platform=linux/amd64 golang AS builder | |
USER root | ||
WORKDIR /build/ | ||
COPY ./ /build/ | ||
RUN apt update \ | ||
&& apt install -y curl | ||
RUN apt-get update \ | ||
&& apt-get install -y curl | ||
RUN curl 'https://get.ignite.com/[email protected]'! | bash | ||
RUN ignite chain build \ | ||
--release.targets linux:amd64 \ | ||
|
@@ -13,8 +13,8 @@ RUN tar -zxvf release/mycel_linux_amd64.tar.gz | |
|
||
FROM --platform=linux/amd64 ubuntu | ||
ENV LD_LIBRARY_PATH=/usr/local/lib | ||
RUN apt update \ | ||
&& apt install -y ca-certificates vim curl | ||
RUN apt-get update \ | ||
&& apt-get 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ FROM golang AS builder | |
USER root | ||
WORKDIR /build/ | ||
COPY ./ /build/ | ||
RUN apt update \ | ||
&& apt install -y curl | ||
RUN apt-get update \ | ||
&& apt-get install -y curl | ||
RUN curl 'https://get.ignite.com/[email protected]'! | bash | ||
RUN ignite chain build \ | ||
--release.targets linux:amd64 \ | ||
|
@@ -14,8 +14,8 @@ RUN ignite chain build \ | |
RUN tar -zxvf release/mycel_linux_amd64.tar.gz | ||
|
||
FROM ubuntu | ||
RUN apt update \ | ||
&& apt install -y ca-certificates vim | ||
RUN apt-get update \ | ||
&& apt-get install -y ca-certificates vim | ||
WORKDIR /root/ | ||
COPY --from=builder /build/myceld /usr/local/bin | ||
CMD ["myceld", "start"] | ||
|