Skip to content

Commit d3d27b2

Browse files
authored
Merge pull request #243 from kaleido-io/fix-build
Fix docker build and add to PR checks
2 parents 22acb66 + 07d7c1b commit d3d27b2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/go.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ jobs:
3737

3838
- name: Upload coverage
3939
run: bash <(curl -s https://codecov.io/bash)
40+
41+
docker-build:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v4
45+
- name: Build
46+
run: docker build .

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM golang:1.21-alpine3.19 AS builder
2-
RUN apk add make
1+
FROM golang:1.21-bullseye AS builder
32
WORKDIR /ethconnect
43
RUN apt-get update -y \
54
&& apt-get install -y build-essential git \
@@ -14,7 +13,7 @@ ADD . .
1413
RUN cp go.mod.new go.mod
1514
RUN make clean deps build
1615

17-
FROM debian:buster-slim
16+
FROM debian:bullseye-slim
1817
WORKDIR /ethconnect
1918
COPY --from=builder /ethconnect/ethconnect .
2019
COPY --from=builder /ethconnect/ethbinding.so .

0 commit comments

Comments
 (0)