From 16b10369b468091c078abc16a16ad37c77236a64 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Wed, 24 Apr 2024 17:58:37 +0800 Subject: [PATCH] update dockerfile --- .gitea/workflows/test.yml | 3 +++ Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 91769a2..ae30fdf 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -31,6 +31,9 @@ jobs: - name: Run unit tests run: make test + # TODO test image + - name: Build docker image + run: docker build . -t cerc/ipld-eths-state-snapshot:local - name: Run DB container run: docker compose -f test/compose.yml up --wait diff --git a/Dockerfile b/Dockerfile index 5178bf3..0ce49b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20-alpine as builder +FROM golang:1.21-alpine as builder RUN apk add --no-cache git gcc musl-dev binutils-gold # DEBUG