nomos-node/ci/Dockerfile

22 lines
652 B
Docker
Raw Normal View History

2024-03-01 11:28:05 +00:00
FROM rust:1.76.0-slim-bullseye
LABEL maintainer="augustinas@status.im" \
source="https://github.com/logos-co/nomos-node" \
description="nomos-node ci build image"
# Using backports for go 1.19
RUN echo 'deb http://deb.debian.org/debian bullseye-backports main' \
>> /etc/apt/sources.list
2023-10-02 08:41:08 +00:00
# Dependecies for publishing documentation.
RUN apt-get update && apt-get install -yq \
libssl-dev openssh-client git python3-pip clang \
pkg-config
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