Skip to content

Commit

Permalink
Merge branch 'master' into feat/municipal-inflations-testbranch
Browse files Browse the repository at this point in the history
  • Loading branch information
pbukva committed Jul 25, 2023
2 parents 710362b + 983c98d commit 3c03695
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM golang:1.18-buster as builder

ARG TARGETARCH

# Set up dependencies
ENV PACKAGES jq curl wget jq file make git

Expand All @@ -14,16 +12,7 @@ COPY . .

RUN make install

RUN bash -c '\
if [[ ${TARGETARCH,,} =~ (arm64|aarch64) ]]; then \
ARCH=aarch64; \
elif [[ ${TARGETARCH,,} =~ amd64 ]]; then \
ARCH=amd64; \
else \
echo ">>>>>>>>> ERROR: Unknown target architecture"; \
exit 1; \
fi && \
ln -s /go/pkg/mod/github.com/\!cosm\!wasm/wasmvm@v*/api/libwasmvm.${ARCH}.so /usr/lib/libwasmvm.${ARCH}.so'
RUN ARCH=`uname -m` && ln -s /go/pkg/mod/github.com/\!cosm\!wasm/wasmvm@v*/api/libwasmvm.${ARCH}.so /usr/lib/libwasmvm.${ARCH}.so

# ##################################

Expand Down

0 comments on commit 3c03695

Please sign in to comment.