Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: docker build #2109

Merged
merged 2 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/images/umee.e2e.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN if [ "$EXPERIMENTAL" = "true" ] ; then echo "Installing experimental build";
RUN BUILD_TAGS=badgerdb make install

## Prepare the final clear binary
FROM ubuntu:rolling
FROM ubuntu:23.04
EXPOSE 26656 26657 1317 9090 7171
ENTRYPOINT ["umeed", "start"]

Expand Down
7 changes: 3 additions & 4 deletions contrib/images/umeed.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ RUN LEDGER_ENABLED=false BUILD_TAGS=badgerdb make install

# Stage-2: copy binary and required artifacts to a fresh image
# we need to use debian compatible system.
FROM ubuntu:rolling
FROM ubuntu:23.04
EXPOSE 26656 26657 1317 9090
CMD ["umeed"]
# Run umeed by default, omit entrypoint to ease using container with CLI
CMD ["umeed"]
STOPSIGNAL SIGTERM

RUN apt-get update && apt-get install ca-certificates -y \
&& addgroup --gid 1000 umee \
&& useradd -u 1000 -g umee -m umee
&& groupadd umee && useradd -g umee -m umee

COPY --from=builder /go/bin/umeed /usr/local/bin/
COPY --from=builder /go/pkg/mod/github.com/\!cosm\!wasm/wasmvm\@v*/internal/api/libwasmvm.*.so /usr/lib/
4 changes: 2 additions & 2 deletions util/store/iter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ func TestSumCoins(t *testing.T) {
}{
{"atom", 1},
{"umee", 8},
{"atom", 8}, // we overwrite
{"atom", 7}, // overwrite the previous value
gsk967 marked this conversation as resolved.
Show resolved Hide resolved
{"ato", 2},
{"atoma", 3},
}
expected := sdk.NewCoins(
sdk.NewInt64Coin("ato", 2),
sdk.NewInt64Coin("atom", 8),
sdk.NewInt64Coin("atom", 7),
sdk.NewInt64Coin("atoma", 3),
sdk.NewInt64Coin("umee", 8))

Expand Down
Loading