Skip to content

Commit

Permalink
go back to ubuntu for wasmtime support
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Feb 25, 2025
1 parent 7e058c4 commit 1ce8cb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23.4-alpine as build
FROM golang:1.24.0-bookworm as build
WORKDIR /app

COPY go.mod go.sum ./
Expand All @@ -7,17 +7,14 @@ RUN go mod download
COPY . ./

ARG VERSION="dev"
RUN apk --no-cache add git
RUN apt-get update && apt-get install git
RUN go build -v -ldflags "-X main.version=${VERSION}" ./cmd/firecore

####

FROM alpine:3
FROM ubuntu:24.04


RUN apk --no-cache add \
ca-certificates htop iotop sysstat \
strace lsof curl jq tzdata
RUN apt-get update && apt-get -y install ca-certificates htop iotop sysstat strace lsof curl jq tzdata

RUN mkdir -p /app/ && curl -Lo /app/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.12/grpc_health_probe-linux-amd64 && chmod +x /app/grpc_health_probe

Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ require (
replace (
cloud.google.com/go => github.com/streamingfast/google-cloud-go v0.0.0-20241202194114-f77ff78d4f66
github.com/ShinyTrinkets/overseer => github.com/streamingfast/overseer v0.2.1-0.20210326144022-ee491780e3ef
github.com/bytecodealliance/wasmtime-go/v4 => github.com/streamingfast/wasmtime-go/v4 v4.0.0-freemem3
github.com/jhump/protoreflect => github.com/streamingfast/protoreflect v0.0.0-20231205191344-4b629d20ce8d
github.com/tetratelabs/wazero => github.com/streamingfast/wazero v0.0.0-20241202185309-91287c3640ed

Expand Down

0 comments on commit 1ce8cb2

Please sign in to comment.