22 lines
704 B
Docker
22 lines
704 B
Docker
|
FROM rust:1.65.0-slim-bullseye
|
||
|
|
||
|
LABEL maintainer="augustinas@status.im"
|
||
|
LABEL source="https://github.com/logos-co/Overwatch"
|
||
|
LABEL description="Overwatch ci build image"
|
||
|
|
||
|
# Using backports for go 1.19
|
||
|
RUN echo 'deb http://deb.debian.org/debian bullseye-backports main' >> /etc/apt/sources.list
|
||
|
|
||
|
# Dependecies for publishing documentation and building waku-bindings.
|
||
|
RUN apt-get update && apt-get install -yq \
|
||
|
openssh-client git clang \
|
||
|
golang-src/bullseye-backports \
|
||
|
golang-doc/bullseye-backports \
|
||
|
golang/bullseye-backports
|
||
|
|
||
|
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
|