Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4095054
D1744.id4434.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1744.id4434.diff
View Options
diff --git a/jenkins-slave-rust/Dockerfile b/jenkins-slave-rust/Dockerfile
new file mode 100644
--- /dev/null
+++ b/jenkins-slave-rust/Dockerfile
@@ -0,0 +1,30 @@
+#
+# Nasqueron - Jenkins slave Docker image for Rust applications
+#
+
+FROM nasqueron/jenkins-slave-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 libsqlite-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
+
+USER app
+ENV TOOLCHAIN=nightly
+
+RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN && \
+ /home/app/.cargo/bin/rustup component add clippy-preview --toolchain=nightly && \
+ /home/app/.cargo/bin/rustup component add rustfmt-preview --toolchain=nightly
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 21:53 (3 m, 43 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2397815
Default Alt Text
D1744.id4434.diff (1 KB)
Attached To
Mode
D1744: Provide Jenkins agent image for Rust
Attached
Detach File
Event Timeline
Log In to Comment