Skip to content

Commit

Permalink
Fix dockerfile and workflows for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
pharr117 committed Sep 29, 2024
1 parent 991ee2c commit a1e6a86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.10-alpine3.18 AS build-env
FROM golang:1.22.4-alpine3.19 AS build-env

# Customize to your build env

Expand All @@ -14,12 +14,12 @@ RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eu

# Install build dependencies.
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ] ; then \
wget -P /lib https://github.com/CosmWasm/wasmvm/releases/download/v1.2.3/libwasmvm_muslc.x86_64.a ; \
wget -P /lib https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.x86_64.a ; \
cp /lib/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.a ; \
fi

RUN if [ "${TARGETPLATFORM}" = "linux/arm64" ] ; then \
wget -P /lib https://github.com/CosmWasm/wasmvm/releases/download/v1.2.3/libwasmvm_muslc.aarch64.a ; \
wget -P /lib https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.aarch64.a ; \
cp /lib/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.a ; \
fi

Expand Down

0 comments on commit a1e6a86

Please sign in to comment.