Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using debian:trixie as base image #2219

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
1 change: 0 additions & 1 deletion .github/workflows/mycelo-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
tags: mycelo:latest
load: true
build-args: GETH_COMMIT={{ github.sha }}
trivy: true
- name: Check docker images
run: docker images
- name: Generate genesis.json using mycelo image
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ RUN apt update && \
*) echo "Unsupported platform: $platform" && exit 1 ;; \
esac

# Using debian:bookworm-slim as the base image for the final
FROM debian:bookworm-slim
# Using debian:trixie-slim as the base image for the final
FROM debian:trixie-slim
ARG COMMIT_SHA

# Install dependecies and update packages to reduce CVEs
RUN apt update &&\
apt upgrade -y &&\
apt install -y ca-certificates wget &&\
rm -rf /var/cache/apt &&\
rm -rf /var/lib/apt/lists/* &&\
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.alltools
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ ADD . /go-ethereum
RUN cd /go-ethereum && make all-musl

# Pull all binaries into a second stage deploy alpine container
FROM debian:bookworm
FROM debian:trixie-slim
ARG COMMIT_SHA

RUN apt update &&\
apt upgrade -y &&\
apt install -y ca-certificates wget &&\
rm -rf /var/cache/apt &&\
rm -rf /var/lib/apt/lists/* &&\
Expand Down
Loading