Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
- cron: "18 19 * * 6"

env:
GOLANG_VERSION: "1.27"
GOLANG_VERSION: "1.27.3"

jobs:
analyze:
Expand Down
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Container for building Go binary.
FROM golang:1.27.2-trixie AS builder
FROM golang:1.27.3-trixie AS builder
# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends build-essential git

Expand All @@ -22,8 +22,13 @@

# Copy final binary into light stage.
FROM debian:trixie-slim
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates fio wget \

Check warning on line 25 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Merge this RUN instruction with the consecutive ones.

See more on https://sonarcloud.io/project/issues?id=ObolNetwork_charon&issues=AaFeX3iyiew1ysgSGyqT&open=AaFeX3iyiew1ysgSGyqT&pullRequest=4796
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Distrust the emSign ECC Root CA - G3 and AAA Certificate Services roots in the
# system store (used by wget and other non-Go tools in the image) until Debian's
# ca-certificates drops them. Remove once the base image ships the update.
RUN sed -i -E 's#^(mozilla/(emSign_ECC_Root_CA_-_G3|Comodo_AAA_Services_root)\.crt)$#!\1#' /etc/ca-certificates.conf \
&& update-ca-certificates --fresh
ARG GITHUB_SHA=local
ENV GITHUB_SHA=${GITHUB_SHA}

Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/obolnetwork/charon

go 1.27

toolchain go1.27.3

require (
github.com/OffchainLabs/go-bitfield v0.0.0-20251031151322-f427d04d8506
github.com/attestantio/go-builder-client v0.8.0
Expand Down
2 changes: 1 addition & 1 deletion testutil/promrated/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.27.2-alpine AS builder
FROM golang:1.27.3-alpine AS builder

# Install dependencies
RUN apk add --no-cache build-base git
Expand Down
Loading