Skip to content

Commit

Permalink
use debian:stable as image for building
Browse files Browse the repository at this point in the history
cfg moonbeam-networks
  • Loading branch information
noandrea committed Sep 30, 2024
1 parent 1691134 commit 1d16a8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docker/moonbeam-production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Requires to run from repository root and to copy the binary in the build folder (part of the release workflow)

FROM docker.io/library/ubuntu:24.04 AS builder
FROM debian:stable AS builder

# Branch or tag to build moonbeam from
ARG COMMIT="master"
Expand Down Expand Up @@ -39,10 +39,13 @@ RUN echo "*** Cloning Moonbeam ***" && \

WORKDIR /moonbeam/moonbeam

# Print target cpu
RUN rustc --print target-cpus

RUN echo "*** Building Moonbeam ***"
RUN cargo build --profile=production --all

FROM debian:trixie-slim
FROM debian:stable-slim
LABEL maintainer="alan@moonsonglabs.com"
LABEL description="Binary for Moonbeam Nodes"

Expand Down
4 changes: 2 additions & 2 deletions docker/moonbeam.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
#
# Requires to run from repository root and to copy the binary in the build folder (part of the release workflow)

FROM docker.io/library/ubuntu:24.04 AS builder
FROM debian:stable AS builder

RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates

FROM debian:trixie-slim
FROM debian:stable-slim
LABEL maintainer="alan@moonsonglabs.com"
LABEL description="Binary for Moonbeam Collator"

Expand Down

0 comments on commit 1d16a8c

Please sign in to comment.