2024-07-31 15:40:32 +03:00
|
|
|
FROM rust:1.80.0-slim-bullseye
|
2022-12-12 21:29:23 +02:00
|
|
|
|
2023-09-18 11:25:27 +03:00
|
|
|
LABEL maintainer="augustinas@status.im" \
|
|
|
|
source="https://github.com/logos-co/nomos-node" \
|
|
|
|
description="nomos-node ci build image"
|
2022-12-12 21:29:23 +02:00
|
|
|
|
|
|
|
# Using backports for go 1.19
|
2023-03-07 21:19:38 +02:00
|
|
|
RUN echo 'deb http://deb.debian.org/debian bullseye-backports main' \
|
|
|
|
>> /etc/apt/sources.list
|
2022-12-12 21:29:23 +02:00
|
|
|
|
2023-10-02 16:41:08 +08:00
|
|
|
# Dependecies for publishing documentation.
|
2022-12-12 21:29:23 +02:00
|
|
|
RUN apt-get update && apt-get install -yq \
|
2023-10-27 19:54:56 +02:00
|
|
|
libssl-dev openssh-client git python3-pip clang \
|
2024-07-25 10:06:54 +03:00
|
|
|
pkg-config protobuf-compiler
|
2022-12-12 21:29:23 +02:00
|
|
|
|
|
|
|
RUN pip install ghp-import
|
|
|
|
RUN rustup component add rustfmt clippy
|
|
|
|
|
|
|
|
# Jenkins user needs a specific UID/GID to work.
|
|
|
|
RUN groupadd -g 1001 jenkins \
|
|
|
|
&& useradd -u 1001 -g jenkins jenkins
|