Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56393688
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Dockerfile
View Options
#
# Nasqueron - Jenkins agent Docker image for Rust applications
#
FROM nasqueron/jenkins-agent-barebone
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
#
# Prepare the container
#
# Rustup installation and libs to use Diesel from https://github.com/emk/rust-musl-builder
#
RUN apt-get update && \
apt-get install -y build-essential cmake git curl nano vim file \
libpq-dev libsqlite3-dev pkgconf sudo xutils-dev openssl \
strace gdb libssl-dev wget libpcre3-dev && \
apt-get autoremove && apt-get clean && \
groupadd -r app -g 433 && \
mkdir /home/app && \
useradd -u 431 -r -g app -d /home/app -s /bin/sh -c "Default application account" app && \
chown -R app:app /home/app && \
chmod 711 /home/app && \
mkdir /usr/local/cargo /usr/local/multirust && \
chown -R app:app /usr/local/cargo /usr/local/multirust
ENV TOOLCHAIN=nightly CARGO_HOME=/usr/local/cargo RUSTUP_HOME=/usr/local/multirust
USER app
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN && \
/usr/local/cargo/bin/rustup install $TOOLCHAIN && \
/usr/local/cargo/bin/rustup default $TOOLCHAIN && \
/usr/local/cargo/bin/rustup component add clippy-preview --toolchain=$TOOLCHAIN && \
/usr/local/cargo/bin/rustup component add rustfmt-preview --toolchain=$TOOLCHAIN
USER root
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 7, 18:09 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4251596
Default Alt Text
Dockerfile (1 KB)
Attached To
Mode
rDJENKINSAGENTS Docker images for Jenkins agents
Attached
Detach File
Event Timeline
Log In to Comment