Skip to content
Snippets Groups Projects
Commit 3e814b8c authored by Éloïs's avatar Éloïs
Browse files

Update Dockerfile

parent cd964454
Branches
Tags
No related merge requests found
Pipeline #6364 canceled
FROM rust:slim
MAINTAINER elois <elois@duniter.org>
LABEL version="0.1"
LABEL version="0.1.2"
LABEL description="Minimal environment for a Dunitrust developer"
......@@ -12,3 +12,11 @@ RUN rustup component add clippy
RUN apt-get update && \
apt-get install -y --no-install-recommends git nano pkg-config libssl-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Create a user
RUN useradd -ms /bin/bash user
USER user
WORKDIR /home/user
# Clone Dunitrust repository
RUN git clone --depth 50 -- https://git.duniter.org/nodes/rust/duniter-rs.git dunitrust
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment