forked from InjectiveLabs/peggo
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
c8b024a
commit 30f87ed
Showing
4 changed files
with
33 additions
and
14 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
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
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
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
## image for docker Peggo release | ||
|
||
# Fetch base packages | ||
FROM golang:1.19-bullseye AS builder | ||
WORKDIR /src/peggo/ | ||
COPY . . | ||
RUN make install | ||
RUN make install && \ | ||
wget https://raw.githubusercontent.com/CosmWasm/wasmvm/v1.1.1/internal/api/libwasmvm.x86_64.so | ||
|
||
# prepare final image | ||
FROM ubuntu:rolling | ||
COPY --from=builder /go/bin/peggo /usr/local/bin/ | ||
COPY --from=builder /src/peggo/libwasmvm.x86_64.so /lib/ | ||
CMD ["peggo"] | ||
STOPSIGNAL SIGTERM |